mirror of
https://github.com/Hopiu/django.git
synced 2026-04-08 17:11:06 +00:00
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 | ||