summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-05-20 17:12:25 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-05-23 10:24:09 +0200
commit9db932ab4c4e0e85697719443247d229bf14db9a (patch)
tree477f1a1ced8b10ab8d154ad3f0a943fc68cb20a3 /docs
parentcdd374939a3df497ff050e16663a73acb6cca899 (diff)
[5.2.x] Fixed #36390 -- Deprecated RemoteUserMiddleware subclasses missing aprocess_request().
Regression in 50f89ae850f6b4e35819fe725a08c7e579bfd099. Thank you to shamoon for the report and Natalia Bidart for the review. Backport of 1704c49a9b149b66b6a0e67abc8c95293bc35649 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt4
-rw-r--r--docs/releases/5.2.2.txt4
-rw-r--r--docs/releases/5.2.txt4
3 files changed, 12 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 71e4e19cd8..067686e0e2 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -27,6 +27,10 @@ details on these changes.
``django.contrib.postgres.aggregates.JSONBAgg``, and
``django.contrib.postgres.aggregates.StringAgg`` will be removed.
+* Support for subclasses of ``RemoteUserMiddleware`` that override
+ ``process_request()`` without overriding ``aprocess_request()`` will be
+ removed.
+
.. _deprecation-removed-in-6.0:
6.0
diff --git a/docs/releases/5.2.2.txt b/docs/releases/5.2.2.txt
index f6787bff08..2cf5c750ff 100644
--- a/docs/releases/5.2.2.txt
+++ b/docs/releases/5.2.2.txt
@@ -18,3 +18,7 @@ Bugfixes
* Fixed a regression in Django 5.2 that caused a crash when no arguments were
passed into ``QuerySet.union()`` (:ticket:`36388`).
+
+* Fixed a regression in Django 5.2 where subclasses of ``RemoteUserMiddleware``
+ that had overridden ``process_request()`` were no longer supported
+ (:ticket:`36390`).
diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt
index 32a0b35951..feaeb9436a 100644
--- a/docs/releases/5.2.txt
+++ b/docs/releases/5.2.txt
@@ -488,3 +488,7 @@ Miscellaneous
``django.contrib.postgres.aggregates.JSONBAgg``, and
``django.contrib.postgres.aggregates.StringAgg`` is deprecated in favor
of the ``order_by`` argument.
+
+* Support for subclasses of ``RemoteUserMiddleware`` that override
+ ``process_request()`` without overriding ``aprocess_request()`` is
+ deprecated.