django/tests/generic_views
Chris Cogdon 8202ce45a5 [1.9.x] Fixed #26018 -- Prevented unecessary get_form() call in FormMixin.get_context_data().
Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not
be called unnecessarily, specifically in the case where FormMixin.form_invalid()
calls get_context_data() with the current form.

Backport of e429c5186c from master
2015-12-30 17:30:37 -05: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
models.py Fixed #21619 -- Made SingleObjectMixin.get_object catch a more precise exception. 2013-12-15 21:49:52 +01:00
test_base.py Refs #24652 -- Used SimpleTestCase where appropriate. 2015-05-20 13:46:13 -04:00
test_dates.py Fixed #23395 -- Limited line lengths to 119 characters. 2015-09-12 11:40:50 -04:00
test_detail.py [1.9.x] Fixed #26006 -- Fixed incorrect object reference in SingleObjectMixin.get_context_object_name(). 2015-12-30 09:58:05 -05:00
test_edit.py [1.9.x] Fixed #26018 -- Prevented unecessary get_form() call in FormMixin.get_context_data(). 2015-12-30 17:30:37 -05:00
test_forms.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
test_list.py Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
urls.py [1.9.x] Fixed #26006 -- Fixed incorrect object reference in SingleObjectMixin.get_context_object_name(). 2015-12-30 09:58:05 -05:00
views.py [1.9.x] Fixed #26018 -- Prevented unecessary get_form() call in FormMixin.get_context_data(). 2015-12-30 17:30:37 -05:00