summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-12-29 09:04:35 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-12-29 09:06:03 +0100
commit6b4b7da740cea6d1fc7ae7028a357587f3e9d0b3 (patch)
treedbf4540d65431a4ad1b8f6ac8faead6fa91cb97e /docs
parent3029e22607818b711a1954d27709392276798d19 (diff)
[3.1.x] Fixed #32299 -- Prevented mutating handlers when processing middlewares marking as unused in an async context.
Thanks Hubert Bielenia for the report. Backport of 98ad327864aed8df245fd19ea9d2743279e11643 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.1.5.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/3.1.5.txt b/docs/releases/3.1.5.txt
index 0d11118446..eea060d112 100644
--- a/docs/releases/3.1.5.txt
+++ b/docs/releases/3.1.5.txt
@@ -12,3 +12,7 @@ Bugfixes
* Fixed ``__isnull=True`` lookup on key transforms for
:class:`~django.db.models.JSONField` with Oracle and SQLite
(:ticket:`32252`).
+
+* Fixed a bug in Django 3.1 that caused a crash when processing middlewares in
+ an async context with a middleware that raises a ``MiddlewareNotUsed``
+ exception (:ticket:`32299`).