mirror of
https://github.com/django/django.git
synced 2025-01-24 09:09:20 +00:00
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.