Add text/x-log as an allowed mimetype

This commit is contained in:
Pierre-Yves Chibon 2014-06-18 19:04:53 +02:00
parent 99a5d148c0
commit 34af155cab

View file

@ -23,7 +23,7 @@ MAIL_ADMIN = 'pingou@pingoured.fr'
ADMIN_GROUP = ['sysadmin-kernel', 'sysadmin-main']
# 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
MAX_CONTENT_LENGTH = 1024 * 10