1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/generic_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
..
jinja2/generic_views Fixed #24168 -- Allowed selecting a template engine in a few APIs. 2015-02-03 08:29:45 +01:00
templates Fixed #24168 -- Allowed selecting a template engine in a few APIs. 2015-02-03 08:29:45 +01:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
forms.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
models.py Decreased max_length for char fields unless absolutely needed. (#8485) 2017-05-10 17:33:46 +02:00
test_base.py Fixed #32260 -- Made View.as_view() do not use update_wrapper(). 2021-03-30 07:58:09 +02:00
test_dates.py Fixed #31620 -- Added support for %V format to WeekMixin/WeekArchiveView. 2020-06-26 11:12:57 +02:00
test_detail.py Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
test_edit.py Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. 2020-11-06 09:24:50 +01:00
test_list.py Fixed #28719 -- Added a helpful exception if MultipleObjectTemplateResponseMixin doesn't generate any template names. 2017-11-07 18:46:52 -05:00
urls.py Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context." 2020-08-24 11:37:59 +02:00
views.py Increased test coverage of django/views/generic/dates.py. 2018-10-30 14:27:48 -04:00