diff options
| author | Bobby <[email protected]> | 2022-11-10 11:28:04 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-11-10 11:28:04 -0500 |
| commit | 1eca4e64326c49d6fddefca5caa89695c67173b2 (patch) | |
| tree | b912bd5bf72da44c3fd9939c40f94b83cedaffa3 | |
| parent | 37edfad8e9d8792e08c2ae514a8278a219ccaaec (diff) | |
| download | thatcomputerscientist-1eca4e64326c49d6fddefca5caa89695c67173b2.tar.xz thatcomputerscientist-1eca4e64326c49d6fddefca5caa89695c67173b2.zip | |
readding debug
| -rw-r--r-- | thatcomputerscientist/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py index 712fe0a4..20d42906 100644 --- a/thatcomputerscientist/settings.py +++ b/thatcomputerscientist/settings.py @@ -28,7 +28,7 @@ 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 = True +DEBUG = True if os.getenv('ENVIRONMENT') == 'development' else False ALLOWED_HOSTS = ["*"] CSRF_TRUSTED_ORIGINS = ['http://*.localhost', 'https://*.thatcomputerscientist.com', 'http://*.thatcomputerscientist.com', 'https://*.thatcomputerscientist.fly.dev/'] |
