Refs #26601 -- Made get_response argument required and don't accept None in middleware classes.

Per deprecation timeline.
This commit is contained in:
Mariusz Felisiak 2021-01-12 20:55:32 +01:00
parent 6b4941dd57
commit 4bb30fe5d5
8 changed files with 23 additions and 42 deletions

View file

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