Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ECE651_Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chris Li
ECE651_Backend
Commits
3ed7b7da
Commit
3ed7b7da
authored
2 years ago
by
Chris Li
Browse files
Options
Downloads
Patches
Plain Diff
Turn off DEBUG mode.
parent
2b53c3de
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
ece651_backend/settings.py
+2
-2
2 additions, 2 deletions
ece651_backend/settings.py
with
3 additions
and
2 deletions
.gitignore
+
1
−
0
View file @
3ed7b7da
...
...
@@ -4,6 +4,7 @@
*.pyc
__pycache__
db.sqlite3
static
media
core/migrations/*.py
...
...
This diff is collapsed.
Click to expand it.
ece651_backend/settings.py
+
2
−
2
View file @
3ed7b7da
...
...
@@ -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
=
Tru
e
DEBUG
=
Fals
e
ALLOWED_HOSTS
=
[
'
*
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment