Add 127.0.0.1 and localhost to ALLOWED_HOSTS

This commit is contained in:
Cristi Vîjdea
2017-12-06 09:46:33 +01:00
parent dce00156d5
commit 3f428d0cd1
+3 -1
View File
@@ -13,7 +13,9 @@ SECRET_KEY = '!z1yj(9uz)zk0gg@5--j)bc4h^i!8))r^dezco8glf190e0&#p'
DEBUG = True
ALLOWED_HOSTS = [
'test.local'
'127.0.0.1',
'localhost',
'test.local',
]
CORS_ORIGIN_ALLOW_ALL = True