diff options
| author | Antoine Lorence <contact@alorence.me> | 2022-09-29 12:10:02 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2022-09-29 16:29:34 +0200 |
| commit | ecf6506f44cd09021927a821eb14e3f7f726ab14 (patch) | |
| tree | 1a67ad39b440c9963aca8078092748951dedb442 /docs | |
| parent | 97353bc64baca2affe6be6a0c4e5c3cc1de496ec (diff) | |
[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 9b0c9821ed4dd9920cc7c5e7b657720d91a89bdc from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/4.1.2.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/4.1.2.txt b/docs/releases/4.1.2.txt index 57b0b6c6e8..d607c34c92 100644 --- a/docs/releases/4.1.2.txt +++ b/docs/releases/4.1.2.txt @@ -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`). |
