8202ce45a5
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
|
||
---|---|---|
.. | ||
jinja2/generic_views | ||
templates | ||
__init__.py | ||
models.py | ||
test_base.py | ||
test_dates.py | ||
test_detail.py | ||
test_edit.py | ||
test_forms.py | ||
test_list.py | ||
urls.py | ||
views.py |