Skip to content

Commit

Permalink
Configure app for Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Godsmith committed Nov 11, 2021
1 parent 9d6b626 commit 40866c7
Show file tree
Hide file tree
Showing 4 changed files with 148 additions and 79 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
__pycache__/
db.sqlite3
.env
6 changes: 5 additions & 1 deletion dinrplan/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "django-insecure-)tbxfj1euplqc#=kw6yi-jy#h%#t1za*aoj@ozsem((4c)7ztv"
#SECRET_KEY = "django-insecure-)tbxfj1euplqc#=kw6yi-jy#h%#t1za*aoj@ozsem((4c)7ztv"

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Expand Down Expand Up @@ -134,3 +134,7 @@
# The URL to which the user is redirected after login
LOGIN_REDIRECT_URL = "/"
LOGOUT_REDIRECT_URL = "/"

# Configure Django App for Heroku.
import django_heroku
django_heroku.settings(locals())
Loading

0 comments on commit 40866c7

Please sign in to comment.