[3.1.x] Updated links to DEPs.

Backport of 7cc6899d41 from master
This commit is contained in:
Markus Holtermann 2021-02-25 17:20:14 +01:00 committed by Mariusz Felisiak
parent 3668da8de8
commit 7fffdc4aad
2 changed files with 2 additions and 2 deletions

View File

@ -169,5 +169,5 @@ creating an object that specifies the following attributes:
* ``'loader_name'``: An optional string identifying the function or class used * ``'loader_name'``: An optional string identifying the function or class used
to load the template, e.g. ``django.template.loaders.filesystem.Loader``. to load the template, e.g. ``django.template.loaders.filesystem.Loader``.
.. _DEP 182: https://github.com/django/deps/blob/master/final/0182-multiple-template-engines.rst .. _DEP 182: https://github.com/django/deps/blob/main/final/0182-multiple-template-engines.rst
.. _Django Debug Toolbar: https://github.com/jazzband/django-debug-toolbar .. _Django Debug Toolbar: https://github.com/jazzband/django-debug-toolbar

View File

@ -46,7 +46,7 @@ New-style middleware
:doc:`A new style of middleware is introduced </topics/http/middleware>` to :doc:`A new style of middleware is introduced </topics/http/middleware>` to
solve the lack of strict request/response layering of the old-style of solve the lack of strict request/response layering of the old-style of
middleware described in `DEP 0005 middleware described in `DEP 0005
<https://github.com/django/deps/blob/master/final/0005-improved-middleware.rst>`_. <https://github.com/django/deps/blob/main/final/0005-improved-middleware.rst>`_.
You'll need to :ref:`adapt old, custom middleware <upgrading-middleware>` and You'll need to :ref:`adapt old, custom middleware <upgrading-middleware>` and
switch from the ``MIDDLEWARE_CLASSES`` setting to the new :setting:`MIDDLEWARE` switch from the ``MIDDLEWARE_CLASSES`` setting to the new :setting:`MIDDLEWARE`
setting to take advantage of the improvements. setting to take advantage of the improvements.