summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2021-05-26 20:01:09 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-27 06:17:30 +0200
commite513fb0e77baf2ebcbf2cbe366bdf0228d01119f (patch)
tree95c26b0090c78f6ba2b4563cac807a02e1bb855a /docs
parent0d67481a6664a1e66d875eef59b96ed489060601 (diff)
Fixed typo in MiddlewareMixin deprecation note.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/releases/4.0.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 00e20b151a..fce022cff9 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -114,7 +114,7 @@ details on these changes.
* Support for the pre-Django 3.1 user sessions (that use the SHA-1 algorithm)
will be removed.
-* The ``get_request`` argument for
+* The ``get_response`` argument for
``django.utils.deprecation.MiddlewareMixin.__init__()`` will be required and
won't accept ``None``.
diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt
index 54de681a81..4767bdf7bf 100644
--- a/docs/releases/4.0.txt
+++ b/docs/releases/4.0.txt
@@ -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)
is removed.
-* The ``get_request`` argument for
+* The ``get_response`` argument for
``django.utils.deprecation.MiddlewareMixin.__init__()`` is required and
doesn't accept ``None``.