We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a23f3c commit 55c017cCopy full SHA for 55c017c
config/settings.py
@@ -24,9 +24,7 @@
24
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
25
26
# SECURITY WARNING: keep the secret key used in production secret!
27
-SECRET_KEY = os.environ.get('SECRET_KEY')
28
-if not SECRET_KEY:
29
- SECRET_KEY = ''.join(random.choice( string.ascii_lowercase ) for i in range( 32 ))
+SECRET_KEY = os.environ.get('SECRET_KEY', 'Super_Secr3t_9999')
30
31
# Enable/Disable DEBUG Mode
32
DEBUG = str2bool(os.environ.get('DEBUG'))
0 commit comments