increase django upload size
This commit is contained in:
parent
24c39f71a6
commit
465a098f45
@ -118,6 +118,7 @@ STATIC_URL = '/static/'
|
|||||||
STATIC_ROOT = str(PUBLIC_ROOT.path('static'))
|
STATIC_ROOT = str(PUBLIC_ROOT.path('static'))
|
||||||
MEDIA_URL = '/uploads/'
|
MEDIA_URL = '/uploads/'
|
||||||
MEDIA_ROOT = str(PUBLIC_ROOT.path('uploads'))
|
MEDIA_ROOT = str(PUBLIC_ROOT.path('uploads'))
|
||||||
|
DATA_UPLOAD_MAX_MEMORY_SIZE = 20 * 1024 * 1024
|
||||||
|
|
||||||
LOGIN_URL = 'cabinet:login'
|
LOGIN_URL = 'cabinet:login'
|
||||||
LOGIN_REDIRECT_URL = 'cabinet:index'
|
LOGIN_REDIRECT_URL = 'cabinet:index'
|
||||||
|
Loading…
Reference in New Issue
Block a user