allow larger uploads
This commit is contained in:
parent
d2f2ca6ce0
commit
449e9e41d1
|
@ -148,6 +148,8 @@ IMAGE_PREFIX = 'http://studio.camp/images/'
|
||||||
CONTACT_FROM_EMAIL = 'contact@studio.camp'
|
CONTACT_FROM_EMAIL = 'contact@studio.camp'
|
||||||
CONTACT_TO_EMAIL = ['contact@studio.camp']
|
CONTACT_TO_EMAIL = ['contact@studio.camp']
|
||||||
|
|
||||||
|
DATA_UPLOAD_MAX_MEMORY_SIZE = 150 * 1024 * 1024
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from local_settings import *
|
from local_settings import *
|
||||||
except:
|
except:
|
||||||
|
@ -169,4 +171,4 @@ except NameError:
|
||||||
secret.write(SECRET_KEY)
|
secret.write(SECRET_KEY)
|
||||||
secret.close()
|
secret.close()
|
||||||
except IOError:
|
except IOError:
|
||||||
Exception('Please create a %s file with random characters to generate your secret key!' % SECRET_FILE)
|
raise Exception('Please create a %s file with random characters to generate your secret key!' % SECRET_FILE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user