mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.
This commit is contained in:
parent
c96f11257b
commit
ed514caed2
3 changed files with 26 additions and 0 deletions
|
@ -476,6 +476,7 @@ of the :djadmin:`check` command:
|
|||
``'DENY'``. The default is ``'SAMEORIGIN'``, but unless there is a good reason
|
||||
for your site to serve other parts of itself in a frame, you should change
|
||||
it to ``'DENY'``.
|
||||
* **security.W020**: :setting:`ALLOWED_HOSTS` must not be empty in deployment.
|
||||
|
||||
Sites
|
||||
-----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue