mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[4.1.x] Fixed #34062 -- Updated View.http_method_not_allowed() to support async.
As with the options() methods, wrap the response in a coroutine if
the view is async.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 9b0c9821ed from main
This commit is contained in:
committed by
Carlton Gibson
parent
97353bc64b
commit
ecf6506f44
@@ -39,3 +39,7 @@ Bugfixes
|
||||
* Fixed a regression in Django 4.1 that didn't alter a sequence type when
|
||||
altering type of pre-Django 4.1 serial columns on PostgreSQL
|
||||
(:ticket:`34058`).
|
||||
|
||||
* Fixed a regression in Django 4.1 that caused a crash for :class:`View`
|
||||
subclasses with asynchronous handlers when handling non-allowed HTTP methods
|
||||
(:ticket:`34062`).
|
||||
|
||||
Reference in New Issue
Block a user