mirror of
https://github.com/Rushilwiz/tj2023.git
synced 2025-04-09 14:50:17 -04:00
added debug to secrets
This commit is contained in:
parent
71704bc53c
commit
9e895c339a
|
@ -21,10 +21,11 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
|
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
|
||||||
|
|
||||||
|
if DEBUG:
|
||||||
|
ALLOWED_HOSTS = ['*']
|
||||||
|
else:
|
||||||
|
ALLOWED_HOSTS = ['tj2023.sites.tjhsst.edu']
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
SECRET_KEYS = [
|
SECRET_KEYS = [
|
||||||
# start with your Django secret key like this:
|
# start with your Django secret key like this:
|
||||||
|
'DEBUG',
|
||||||
"SECRET_KEY",
|
"SECRET_KEY",
|
||||||
"NOTION_URL",
|
"NOTION_URL",
|
||||||
"NOTION_COOKIE",
|
"NOTION_COOKIE",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user