Skip to content

Commit d17b87b

Browse files
committed
Don't allow to customize ALLOWED_HOSTS for local dev
We have several instances of hardcoded hosts which doesn't allow dynamic configuration
1 parent a691d2a commit d17b87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangoproject/settings/dev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"djangoproject.localhost",
66
"docs.djangoproject.localhost",
77
"dashboard.djangoproject.localhost",
8-
] + SECRETS.get("allowed_hosts", [])
8+
]
99

1010
LOCALE_MIDDLEWARE_EXCLUDED_HOSTS = ["docs.djangoproject.localhost"]
1111

0 commit comments

Comments
 (0)