#11418: formset.cleaned_data raises AttributeError when is_valid is True
-------------------------------+--------------------------------------------
Reporter: adurdin | Owner: mlavin
Status: new | Milestone:
Component: Forms | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-------------------------------+--------------------------------------------
Changes (by mlavin):
* owner: kmtracey => mlavin
* needs_better_patch: 0 => 1
Comment:
After coming back to this and speaking with kmtracy I'm not sure the
described functionality is correct. A valid formset should have
`cleaned_data` attribute but a formset passed an empty dict should raise a
`ValidationError` "ManagementForm data is missing or has been tampered
with". The formset validation needs some work but I believe the docs need
an update as well.
--
Ticket URL: <http://code.djangoproject.com/ticket/11418#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.