Views various fixes
This commit is contained in:
parent
5af3b95c8d
commit
51415765da
4 changed files with 41 additions and 12 deletions
|
|
@ -30,7 +30,7 @@ SECRET_KEY = os.getenv(
|
|||
'SECRET_KEY', 'django-insecure-np(nxnh6mw)v4pa2n2z3pl_5&!2z$jshhak9r3v=y1u9rd*sl!')
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = os.getenv('DEBUG', 'False') == 'True'
|
||||
DEBUG = os.getenv('DEBUG', 'True') == 'True'
|
||||
|
||||
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', 'localhost').split(',')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue