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.
2 parents 01aec66 + ba4aa0f commit e65d5a7Copy full SHA for e65d5a7
hello_world/settings.py
@@ -22,12 +22,12 @@
22
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
23
24
# SECURITY WARNING: keep the secret key used in production secret!
25
-SECRET_KEY = config("SECRET_KEY")
+SECRET_KEY = config("SECRET_KEY", default='')
26
27
# SECURITY WARNING: don't run with debug turned on in production!
28
-DEBUG = config("DEBUG")
+DEBUG = config("DEBUG", default=True)
29
30
-ALLOWED_HOSTS = config('ALLOWED_HOSTS', '').split(',')
+ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='').split(',')
31
32
if 'CODESPACE_NAME' in os.environ:
33
codespace_name = config("CODESPACE_NAME")
0 commit comments