We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e76efa6 commit cb4adecCopy full SHA for cb4adec
netstests/settings.py
@@ -30,12 +30,12 @@
30
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
31
32
# SECURITY WARNING: keep the secret key used in production secret!
33
-SECRET_KEY = "django-insecure-s_8w8pic*0p+&k@onsm@w_ifx_h15%&f%xdbp-vj3@cl775d-6"
+SECRET_KEY = env.str("SECRET_KEY")
34
35
# SECURITY WARNING: don't run with debug turned on in production!
36
-DEBUG = True
+DEBUG:bool = env.bool("DEBUG")
37
38
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = env.list("ALLOWED_HOSTS")
39
40
# Application definition
41
0 commit comments