fail safe

This commit is contained in:
ducoterra
2020-04-24 21:14:32 -04:00
parent a6127703e9
commit b309e5fa4a
3 changed files with 4 additions and 3 deletions

View File

@@ -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"]