Browse Source

Fixed typo in MiddlewareMixin deprecation note.

Nick Pope 3 years ago
parent
commit
e513fb0e77
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/internals/deprecation.txt
  2. 1 1
      docs/releases/4.0.txt

+ 1 - 1
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``.
 

+ 1 - 1
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``.