Skip to content

Commit

Permalink
Update django settings - get secret_key from env
Browse files Browse the repository at this point in the history
  • Loading branch information
ifirmawan committed Oct 23, 2024
1 parent 69c7465 commit 6ea7cad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/partos_pat/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = (
"django-insecure-c!lt^t7ik*uo$u!qne=9qjif9y$6u+_snt_%*r6!shj6rd4xgb"
)
SECRET_KEY = environ["SECRET_KEY"]

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = environ.get("DEBUG", False)
Expand Down

0 comments on commit 6ea7cad

Please sign in to comment.