From cb2bdc6b582912992ceddaf45d06b3e88b2ddc61 Mon Sep 17 00:00:00 2001 From: Stephan Porada <290-sporada@users.noreply.gitlab.ub.uni-bielefeld.de> Date: Thu, 3 Dec 2020 14:35:00 +0100 Subject: [PATCH] Update settings.py --- app/bundesdata_app/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bundesdata_app/settings.py b/app/bundesdata_app/settings.py index ab7708d..b6d6477 100755 --- a/app/bundesdata_app/settings.py +++ b/app/bundesdata_app/settings.py @@ -25,7 +25,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = os.environ.get('DEBUG') # CHANGE the hosts according to your settings. ALLOWED_HOSTS = ["127.0.0.1", "localhost", "192.168.0.14", "bundesdata.sporada.eu"]