Ah, right, need that. Also apparently that's why I use repath; <str:*> doesn't match slashes.

This commit is contained in:
2021-10-10 00:38:28 +11:00
parent 7930f95b58
commit 476f1ca013
3 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = conf['SECRET_KEY']
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = bool(conf['DEBUG'])
DEBUG = bool(int(conf['DEBUG']))
ALLOWED_HOSTS = [n.strip() for n in conf['ALLOWED_HOSTS'].split(',')]