Skip to content

Commit b600618

Browse files
committed
Adjust ALLOWED_HOSTS help comment message
1 parent 1295f88 commit b600618

File tree

1 file changed

+1
-1
lines changed
  • {{ cookiecutter.name }}/src/app/conf

1 file changed

+1
-1
lines changed

{{ cookiecutter.name }}/src/app/conf/http.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from app.conf.environ import env
22

33

4-
ALLOWED_HOSTS = ["*"] # host validation is not necessary in 2020+
4+
ALLOWED_HOSTS = ["*"] # Warning: Wildcard disables Host validation. Don't rely on Host header with this setting.
55
CSRF_TRUSTED_ORIGINS = [
66
"http://your.app.origin",
77
]

0 commit comments

Comments
 (0)