8000
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 46119c0 commit 57ff9d2Copy full SHA for 57ff9d2
hello_world/settings.py
@@ -20,12 +20,12 @@
20
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
21
22
# SECURITY WARNING: keep the secret key used in production secret!
23
-SECRET_KEY = "django-insecure-rc@04_mry_3-$@2sq$b9%-9jp6q2eyxf4bsw9&&esj++aw&r)p"
+SECRET_KEY = os.getenv("SECRET_KEY")
24
25
# SECURITY WARNING: don't run with debug turned on in production!
26
-DEBUG = True
+DEBUG = os.getenv("DEBUG")
27
28
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '').split(',')
29
30
if 'CODESPACE_NAME' in os.environ:
31
codespace_name = os.getenv("CODESPACE_NAME")
0 commit comments