This commit is contained in:
Administrator
2022-08-22 15:02:07 +03:00
parent 9e7c4345ed
commit f400b7d0c9
7 changed files with 39 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = 'django-insecure-$x=irhk3ts1ae%b+kpr+g%mk3v$eb++^0eh(eg0)+-hb+ane82'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = os.getenv("DEBUG", "true") == "true"
ALLOWED_HOSTS = ['*']