django1/django/views
Daniyal 7c08f26bf0 Fixed #32260 -- Made View.as_view() do not use update_wrapper().
View.as_view() should not use update_wrapper() for copying attributes
it's unintended and have side-effects such as adding `self` to the
signature.

This also fixes system check for arguments of custom error handler
views with class-based views.

Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2021-03-30 07:58:09 +02:00
..
decorators Refs #32468 -- Added error message on invalid usage of cache decorators. 2021-02-24 10:13:51 +01:00
generic Fixed #32260 -- Made View.as_view() do not use update_wrapper(). 2021-03-30 07:58:09 +02:00
templates Improved bidirectionality on the 'Congrats' page. 2020-11-24 13:03:35 +01:00
__init__.py Fixed #25385 -- Allowed importing views.generic.View from views.View. 2016-01-11 08:18:44 -05:00
csrf.py Bumped minimum isort version to 5.1.0. 2020-07-30 10:58:59 +02:00
debug.py Refs #32260 -- Made admindocs and technical 404 debug page use view_func.view_class. 2021-03-30 06:51:27 +02:00
defaults.py Fixed #32480 -- Corrected docstring and removed redundant comments in django/views/defaults.py. 2021-02-24 21:32:37 +01:00
i18n.py Fixed #32345 -- Fixed preserving encoded query strings in set_language() view. 2021-01-29 11:58:43 +01:00
static.py Fixed #31789 -- Added a new headers interface to HttpResponse. 2020-09-14 08:41:59 +02:00