From 661203df95724668eb05a3efcf8d8bab930ec7a6 Mon Sep 17 00:00:00 2001 From: LEdoian Date: Sun, 7 Dec 2025 02:14:37 +0000 Subject: [PATCH] =?UTF-8?q?Lok=C3=A1ln=C3=AD=20server=20poslouch=C3=A1=20i?= =?UTF-8?q?=20na=20IPv6=20localhostu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/settings_local.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mamweb/settings_local.py b/mamweb/settings_local.py index 4d98cd38..27bd2c8a 100644 --- a/mamweb/settings_local.py +++ b/mamweb/settings_local.py @@ -32,6 +32,7 @@ from ipaddress import ip_network ALLOWED_HOSTS = [str(ip) for ip in ip_network('192.168.0.0/16')] ALLOWED_HOSTS.append('127.0.0.1') ALLOWED_HOSTS.append('localhost') +ALLOWED_HOSTS.append('[::1]') # Database # https://docs.djangoproject.com/en/1.7/ref/settings/#databases