django1/django/views
Antoine Lorence ecf6506f44 [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
2022-09-29 16:29:34 +02:00
..
decorators Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
generic [4.1.x] Fixed #34062 -- Updated View.http_method_not_allowed() to support async. 2022-09-29 16:29:34 +02:00
templates Fixed #33461 -- Escaped template errors in the technical 500 debug page. 2022-01-28 07:07:12 +01:00
__init__.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
csrf.py Fixed #33567 -- Avoided setting default text/html content type on responses. 2022-03-09 14:50:52 +01:00
debug.py Fixed #33567 -- Avoided setting default text/html content type on responses. 2022-03-09 14:50:52 +01:00
defaults.py Fixed #33567 -- Avoided setting default text/html content type on responses. 2022-03-09 14:50:52 +01:00
i18n.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
static.py Removed outdated handling of length parameter to If-Modified-Since header. 2022-03-15 13:07:44 +01:00