no need to load larger uploads into memory
This commit is contained in:
parent
1f3789eb52
commit
cc1eaef570
1 changed files with 0 additions and 5 deletions
|
@ -87,11 +87,6 @@ STATIC_URL = '/static/'
|
||||||
# Examples: "http://foo.com/media/", "/media/".
|
# Examples: "http://foo.com/media/", "/media/".
|
||||||
ADMIN_MEDIA_PREFIX = '/admin/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.
|
# List of callables that know how to import templates from various sources.
|
||||||
TEMPLATE_LOADERS = (
|
TEMPLATE_LOADERS = (
|
||||||
'django.template.loaders.filesystem.Loader',
|
'django.template.loaders.filesystem.Loader',
|
||||||
|
|
Loading…
Reference in a new issue