fail safe
This commit is contained in:
@@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
SECRET_KEY = 'b8fi9=f-qj=@-#1iru34-f@a6pzfysgrf(1n_&d=ur%!1w$q*w'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
DEBUG = True if os.getenv("DEBUG") == "True" else False
|
||||
|
||||
ALLOWED_HOSTS = ["localhost", "test.ducoterra.net"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user