From 1af83a863067d9c0306f0865b7d2112a50cc141f Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 12 Oct 2021 08:58:39 +0200 Subject: [PATCH] Allow access from localhost --- photo21/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/photo21/settings.py b/photo21/settings.py index 647abe7..88216ed 100644 --- a/photo21/settings.py +++ b/photo21/settings.py @@ -29,6 +29,8 @@ SECRET_KEY = 'CHANGE_ME' DEBUG = True ALLOWED_HOSTS = [ + "127.0.0.1", + "localhost", "photos.crans.org", "photos-dev.crans.org", ]