file names and upload file size

This commit is contained in:
j 2011-04-12 21:22:03 +02:00
commit 3dfe2e8c75
2 changed files with 11 additions and 5 deletions

View file

@ -87,6 +87,11 @@ STATIC_URL = '/static/'
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/admin/media/'
#max upload size,
#needs to be in line with setting in nginx/apache
FILE_UPLOAD_MAX_MEMORY_SIZE=32*1024*1024
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',