1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/generic_views
Felipe Lee c2c27867ef Refs #20456 -- Moved initialization of HEAD method based on GET to the View.setup() for generic views.
This will ease unit testing of views since setup will essentially do
everything needed to set the view instance up (other than instantiating
it). Credit for idea goes to Vincent Prouillet.
2019-10-30 14:43:52 +01:00
..
jinja2/generic_views
templates
__init__.py
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 Refs #20456 -- Moved initialization of HEAD method based on GET to the View.setup() for generic views. 2019-10-30 14:43:52 +01:00
test_dates.py Increased test coverage of django/views/generic/dates.py. 2018-10-30 14:27:48 -04:00
test_detail.py Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
test_edit.py Made reused RequestFactory instances class attributes. 2018-11-27 09:49:02 -05: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 Increased test coverage of django/views/generic/dates.py. 2018-10-30 14:27:48 -04:00
views.py Increased test coverage of django/views/generic/dates.py. 2018-10-30 14:27:48 -04:00