mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
This commit is contained in:
parent
05c888ffb8
commit
9baf692a58
81 changed files with 900 additions and 1414 deletions
|
@ -41,8 +41,8 @@ For reference, here are the requirements:
|
|||
defined in your :setting:`TEMPLATES` as well as
|
||||
:class:`django.contrib.auth.middleware.AuthenticationMiddleware` and
|
||||
:class:`django.contrib.messages.middleware.MessageMiddleware` to
|
||||
:setting:`MIDDLEWARE_CLASSES`. (These are all active by default, so
|
||||
you only need to do this if you've manually tweaked the settings.)
|
||||
:setting:`MIDDLEWARE`. These are all active by default, so you only need to
|
||||
do this if you've manually tweaked the settings.
|
||||
|
||||
4. Determine which of your application's models should be editable in the
|
||||
admin interface.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue