diff options
| author | Chris Cogdon <chris.cogdon@dtexsystems.com> | 2015-12-30 13:22:58 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-30 17:29:39 -0500 |
| commit | e429c5186ceed81c4627165518e0c70c58e69595 (patch) | |
| tree | 7b153cd0e5ba4182899a277c735faeb0aae30cfd /tests/generic_inline_admin | |
| parent | 7bc94b58bf4e139b669d023e0fb10ce380fc89f6 (diff) | |
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.
Diffstat (limited to 'tests/generic_inline_admin')
0 files changed, 0 insertions, 0 deletions
