Add text/x-log as an allowed mimetype
This commit is contained in:
parent
99a5d148c0
commit
34af155cab
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ MAIL_ADMIN = 'pingou@pingoured.fr'
|
||||||
ADMIN_GROUP = ['sysadmin-kernel', 'sysadmin-main']
|
ADMIN_GROUP = ['sysadmin-kernel', 'sysadmin-main']
|
||||||
|
|
||||||
# List of MIME types allowed for upload in the application
|
# List of MIME types allowed for upload in the application
|
||||||
ALLOWED_MIMETYPES = ['text/plain']
|
ALLOWED_MIMETYPES = ['text/plain', 'text/x-log']
|
||||||
|
|
||||||
# Restrict the size of content uploaded, this is 10Kb
|
# Restrict the size of content uploaded, this is 10Kb
|
||||||
MAX_CONTENT_LENGTH = 1024 * 10
|
MAX_CONTENT_LENGTH = 1024 * 10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue