We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7071d commit dc76bc0Copy full SHA for dc76bc0
src/settings_production.py
@@ -1,7 +1,7 @@
1
from settings import *
2
import os
3
4
-DEBUG = os.getenv("DEBUG")
+DEBUG = (os.getenv("DEBUG", "False") == "True") # os.getenv only returns a string
5
6
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")
7
0 commit comments