Added ALLOWED_HOSTS variable to development settings if you wan't to text without debug = true
This commit is contained in:
parent
d2e0fb1f4e
commit
1c94d6883e
|
@ -4,6 +4,11 @@ from settings import *
|
|||
DEBUG = True
|
||||
TEMPLATE_DEBUG = DEBUG
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
'localhost',
|
||||
'127.0.0.1'
|
||||
]
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
|
|
Loading…
Reference in New Issue