summaryrefslogtreecommitdiff
path: root/docs/internals
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2019-09-26 19:06:35 +0200
committerCarlton Gibson <carlton@noumenal.es>2020-02-18 20:03:44 +0100
commit4d973f593932285cd2f765400d915305d8e7333a (patch)
tree1cc48fd9e979d77906e522ecad2689d156d1377f /docs/internals
parenta34cb5a6d408203f4fbdb364fc9768c026eda224 (diff)
Refs #26601 -- Deprecated passing None as get_response arg to middleware classes.
This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'docs/internals')
-rw-r--r--docs/internals/deprecation.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 6b94bc1a3a..2d7a72ae2f 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -52,6 +52,10 @@ details on these changes.
* Support for the pre-Django 3.1 password reset tokens in the admin site (that
use the SHA-1 hashing algorithm) will be removed.
+* The ``get_request`` argument for
+ ``django.utils.deprecation.MiddlewareMixin.__init__()`` will be required and
+ won't accept ``None``.
+
See the :ref:`Django 3.1 release notes <deprecated-features-3.1>` for more
details on these changes.