* Disabled DEBUG mode
This commit is contained in:
parent
f20923c5db
commit
3ed2867a32
|
|
@ -26,7 +26,7 @@ CDEK_CLIENT_ID = 'wZWtjnWtkX7Fin2tvDdUE6eqYz1t1GND'
|
|||
CDEK_CLIENT_SECRET = 'lc2gmrmK5s1Kk6FhZbNqpQCaATQRlsOy'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = bool(int(os.environ.get("DJANGO_DEBUG") or 0))
|
||||
DISABLE_PERMISSIONS = False
|
||||
DISABLE_CORS = True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user