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