diff --git a/rdgen/settings.py b/rdgen/settings.py index 14f401e..003ade4 100644 --- a/rdgen/settings.py +++ b/rdgen/settings.py @@ -35,7 +35,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.environ.get("DEBUG", False) +DEBUG = os.environ.get("DEBUG", "False").lower() == "true" ALLOWED_HOSTS = ['*'] #CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split()