diff --git a/scidash/main/settings.py b/scidash/main/settings.py index 9d0b0b9c..26f700b7 100644 --- a/scidash/main/settings.py +++ b/scidash/main/settings.py @@ -34,7 +34,8 @@ SECRET_KEY = '4*0@ca#ocm*(1=12m(bfb2p8e$sk-%i4xlj=%$wkj3*&gs!%sr' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = False +# Se via OS env, defaults to False +DEBUG = TEMPLATE_DEBUG = os.environ.get('DEBUG', False) ALLOWED_HOSTS = [ "*"