Skip to content

Commit dc76bc0

Browse files
committed
bug fix
1 parent de7071d commit dc76bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settings_production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from settings import *
22
import os
33

4-
DEBUG = os.getenv("DEBUG")
4+
DEBUG = (os.getenv("DEBUG", "False") == "True") # os.getenv only returns a string
55

66
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")
77

0 commit comments

Comments
 (0)