docker stuff
This commit is contained in:
@@ -35,7 +35,8 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
|||||||
|
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = os.environ.get("DEBUG", "False").lower() == "true"
|
DEBUG_ENV = os.environ.get("DEBUG", "False")
|
||||||
|
DEBUG = DEBUG_ENV.lower() in ['true', '1', 't']
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
#CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split()
|
#CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split()
|
||||||
|
|||||||
Reference in New Issue
Block a user