Skip to content

Commit 3754db6

Browse files
committed
bug fix
1 parent b79d218 commit 3754db6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)