Skip to content

Commit 173994e

Browse files
authored
feat: Add SECRET_KEY environment variable settings (#4235)
1 parent 92e8a91 commit 173994e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/maxkb/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
2323

2424
# SECURITY WARNING: keep the secret key used in production secret!
25-
SECRET_KEY = 'django-insecure-zm^1_^i5)3gp^&0io6zg72&z!a*d=9kf9o2%uft+27l)+t(#3e'
25+
SECRET_KEY = CONFIG.get("SECRET_KEY") or 'django-insecure-zm^1_^i5)3gp^&0io6zg72&z!a*d=9kf9o2%uft+27l)+t(#3e'
2626

2727
# SECURITY WARNING: don't run with debug turned on in production!
2828
DEBUG = CONFIG.get_debug()

0 commit comments

Comments
 (0)