summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-12-29 09:04:35 +0100
committerGitHub <noreply@github.com>2020-12-29 09:04:35 +0100
commit98ad327864aed8df245fd19ea9d2743279e11643 (patch)
tree2792f22f695f3f3c04139ed9343ab1702d11323a /docs
parent45519937e52c194776a26ec11a32f32958df7f10 (diff)
Fixed #32299 -- Prevented mutating handlers when processing middlewares marking as unused in an async context.
Thanks Hubert Bielenia for the report.
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`).