summaryrefslogtreecommitdiff
path: root/djangoproject
diff options
context:
space:
mode:
authorÜlgen Sarıkavak <ulgensrkvk@gmail.com>2025-11-05 18:48:51 +0300
committerSaptak Sengupta <saptak013@gmail.com>2026-04-28 14:16:35 +0530
commitbcc49d6d4c546303d738d73b973e6aac766767df (patch)
tree36795ecc3b5dad0d19fc0b00a146fe4a8097c20c /djangoproject
parentac2b8173daba653081f49a80983a3a34c3e44fab (diff)
Don't allow to customize ALLOWED_HOSTS for local dev
We have several instances of hardcoded hosts which doesn't allow dynamic configuration
Diffstat (limited to 'djangoproject')
-rw-r--r--djangoproject/settings/dev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangoproject/settings/dev.py b/djangoproject/settings/dev.py
index b398c7af..6cd8110f 100644
--- a/djangoproject/settings/dev.py
+++ b/djangoproject/settings/dev.py
@@ -5,7 +5,7 @@ ALLOWED_HOSTS = [
"djangoproject.localhost",
"docs.djangoproject.localhost",
"dashboard.djangoproject.localhost",
-] + SECRETS.get("allowed_hosts", [])
+]
LOCALE_MIDDLEWARE_EXCLUDED_HOSTS = ["docs.djangoproject.localhost"]