From 9d6dfdb34ccca538d220e127724a2a792cd0e1b3 Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 20 Jul 2022 19:30:06 +0530 Subject: Setting DEBUG = True for Debugging purposes --- thatcomputerscientist/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py index 38438b3f..aa7e0d3e 100644 --- a/thatcomputerscientist/settings.py +++ b/thatcomputerscientist/settings.py @@ -27,7 +27,8 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = os.getenv('AUTHORIZATION_STRING') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.getenv('ENVIRONMENT') == 'development' or False +# DEBUG = os.getenv('ENVIRONMENT') == 'development' or False +DEBUG = True ALLOWED_HOSTS = ["*"] CSRF_TRUSTED_ORIGINS = ['https://*.thatcomputerscientist.com', 'https://*.thatcomputerscientist.fly.dev/'] -- cgit v1.2.3