From 3ed7b7da540a2f3c08173350facf7af73706a555 Mon Sep 17 00:00:00 2001 From: Chris Li <c58li@uwaterloo.ca> Date: Tue, 4 Apr 2023 22:51:23 -0400 Subject: [PATCH] Turn off DEBUG mode. --- .gitignore | 1 + ece651_backend/settings.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2b3927a..2a7a19b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.pyc __pycache__ db.sqlite3 +static media core/migrations/*.py diff --git a/ece651_backend/settings.py b/ece651_backend/settings.py index a1f6ae7..580020e 100644 --- a/ece651_backend/settings.py +++ b/ece651_backend/settings.py @@ -21,10 +21,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent # See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'django-insecure-k=s$6kg@y%e-jputym^zjrb-#+beyun#o%_pc+!o44lhxhbj)f' +SECRET_KEY = '3!ihw*e7i)wt$(5293scl+nj^!4i7@#u*38fnhmwk_26ks!u$d' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = ['*'] -- GitLab