mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #31905 -- Made MiddlewareMixin call process_request()/process_response() with thread sensitive.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
This commit is contained in:
committed by
Mariusz Felisiak
parent
0b0658111c
commit
547a07fa7e
@@ -35,3 +35,7 @@ Bugfixes
|
||||
* Reverted a deprecation in Django 3.1 that caused a crash when passing
|
||||
deprecated keyword arguments to a queryset in
|
||||
``TemplateView.get_context_data()`` (:ticket:`31877`).
|
||||
|
||||
* Enforced thread sensitivity of the :class:`MiddlewareMixin.process_request()
|
||||
<django.utils.deprecation.MiddlewareMixin>` and ``process_response()`` hooks
|
||||
when in an async context (:ticket:`31905`).
|
||||
|
||||
Reference in New Issue
Block a user