From e513fb0e77baf2ebcbf2cbe366bdf0228d01119f Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 26 May 2021 20:01:09 +0100 Subject: [PATCH] Fixed typo in MiddlewareMixin deprecation note. --- docs/internals/deprecation.txt | 2 +- docs/releases/4.0.txt | 2 +- 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``.