From 3f428d0cd127d11c3445199c65fe3a692c971baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20V=C3=AEjdea?= Date: Wed, 6 Dec 2017 09:46:33 +0100 Subject: [PATCH] Add `127.0.0.1` and `localhost` to ALLOWED_HOSTS --- testproj/testproj/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testproj/testproj/settings.py b/testproj/testproj/settings.py index 70758b0..01a600d 100644 --- a/testproj/testproj/settings.py +++ b/testproj/testproj/settings.py @@ -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