Skip to content

Commit e65d5a7

Browse files
authored
Merge pull request #39 from github/joshaber-patch-1
Update settings.py
2 parents 01aec66 + ba4aa0f commit e65d5a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hello_world/settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
2323

2424
# SECURITY WARNING: keep the secret key used in production secret!
25-
SECRET_KEY = config("SECRET_KEY")
25+
SECRET_KEY = config("SECRET_KEY", default='')
2626

2727
# SECURITY WARNING: don't run with debug turned on in production!
28-
DEBUG = config("DEBUG")
28+
DEBUG = config("DEBUG", default=True)
2929

30-
ALLOWED_HOSTS = config('ALLOWED_HOSTS', '').split(',')
30+
ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='').split(',')
3131

3232
if 'CODESPACE_NAME' in os.environ:
3333
codespace_name = config("CODESPACE_NAME")

0 commit comments

Comments
 (0)