Fixed typo in MiddlewareMixin deprecation note.

This commit is contained in:
Nick Pope 2021-05-26 20:01:09 +01:00 committed by Mariusz Felisiak
parent 0d67481a66
commit e513fb0e77
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ details on these changes.
* Support for the pre-Django 3.1 user sessions (that use the SHA-1 algorithm) * Support for the pre-Django 3.1 user sessions (that use the SHA-1 algorithm)
will be removed. will be removed.
* The ``get_request`` argument for * The ``get_response`` argument for
``django.utils.deprecation.MiddlewareMixin.__init__()`` will be required and ``django.utils.deprecation.MiddlewareMixin.__init__()`` will be required and
won't accept ``None``. won't accept ``None``.

View File

@ -524,7 +524,7 @@ to remove usage of these features.
* Support for the pre-Django 3.1 user sessions (that use the SHA-1 algorithm) * Support for the pre-Django 3.1 user sessions (that use the SHA-1 algorithm)
is removed. is removed.
* The ``get_request`` argument for * The ``get_response`` argument for
``django.utils.deprecation.MiddlewareMixin.__init__()`` is required and ``django.utils.deprecation.MiddlewareMixin.__init__()`` is required and
doesn't accept ``None``. doesn't accept ``None``.