mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.
This commit is contained in:
@@ -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
|
||||
-----
|
||||
|
||||
Reference in New Issue
Block a user