Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.

This commit is contained in:
rroskam 2015-06-16 16:08:03 -04:00 committed by Tim Graham
parent c96f11257b
commit ed514caed2
3 changed files with 26 additions and 0 deletions

View file

@ -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
-----