new standard deploy templates

This commit is contained in:
ducoterra
2020-04-25 11:15:23 -04:00
parent 8404d43222
commit 7868867908
7 changed files with 31 additions and 24 deletions

View File

@@ -20,13 +20,12 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'b8fi9=f-qj=@-#1iru34-f@a6pzfysgrf(1n_&d=ur%!1w$q*w'
SECRET_KEY = os.getenv("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True if os.getenv("DEBUG") == "True" else False
ALLOWED_HOSTS = ["localhost", "test.ducoterra.net"]
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")
# Application definition