diff --git a/mysite/settings.py b/mysite/settings.py index a6bb9ff..e79474f 100644 --- a/mysite/settings.py +++ b/mysite/settings.py @@ -25,7 +25,8 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-5@k8%e-(*v+8nb1)dvie3_$$ol=3747i)x^n3%j9pg@9j$=b)_' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = os.environ["DEBUG"] == 'True' + ALLOWED_HOSTS = [".ocp-cluster.reymota.lab","127.0.0.1", ".sraopenshift.siemens.es"] CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "https://*.sraopenshift.siemens.es"]