From 1ead0481592efaa2777cf793e3dfc68a35b205ca Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Sun, 25 Jan 2026 19:51:26 +0800 Subject: add readme --- bookstore_project/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bookstore_project') diff --git a/bookstore_project/settings.py b/bookstore_project/settings.py index 7f8b1c5..67660ca 100644 --- a/bookstore_project/settings.py +++ b/bookstore_project/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = "django-insecure-mpnnw2d=87-u)6+vmidshrn2)2(lt497%j+4w$4*t^nv840nwk # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ["localhost", "127.0.0.1", "0.0.0.0"] # Application definition -- cgit v1.2.3