mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #14506 -- Added an assertion to XViewMiddleware about the dependency on the authentication middleware. Thanks, vanschelven.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c29e45491e
commit
43cb78fafd
3 changed files with 15 additions and 8 deletions
|
@ -80,6 +80,7 @@ View metadata middleware
|
|||
Sends custom ``X-View`` HTTP headers to HEAD requests that come from IP
|
||||
addresses defined in the :setting:`INTERNAL_IPS` setting. This is used by
|
||||
Django's :doc:`automatic documentation system </ref/contrib/admin/admindocs>`.
|
||||
Depends on :class:`~django.contrib.auth.middleware.AuthenticationMiddleware`.
|
||||
|
||||
GZIP middleware
|
||||
---------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue