aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-07-20 19:30:06 +0530
committerBobby <[email protected]>2022-07-20 19:30:06 +0530
commit9d6dfdb34ccca538d220e127724a2a792cd0e1b3 (patch)
tree3046e8381116806ea9b2368f890800fe54cd4456
parente5c9b08d0b18f5ea17211c0b98481dbb81e49c61 (diff)
downloadthatcomputerscientist-9d6dfdb34ccca538d220e127724a2a792cd0e1b3.tar.xz
thatcomputerscientist-9d6dfdb34ccca538d220e127724a2a792cd0e1b3.zip
Setting DEBUG = True for Debugging purposes
-rw-r--r--thatcomputerscientist/settings.py3
1 files changed, 2 insertions, 1 deletions
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/']