#9587: formset with can_delete shouldn't require deleted forms to validate
------------------------------------------------------------+---------------
Reporter: Daniel Pope <[email protected]> | Owner:
nobody
Status: closed | Milestone:
1.1
Component: Forms | Version:
1.0
Resolution: fixed | Keywords:
formset can_delete
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
------------------------------------------------------------+---------------
Comment (by jsamsa):
Can we improve this to read the delete field value from cleaned_data so
that validation has a chance to raise validation errors on delete? I have
a case where I don't want to allow delete on inlines after the parent
model reaches a certain state. I'll try writing a patch.
--
Ticket URL: <http://code.djangoproject.com/ticket/9587#comment:7>
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
-~----------~----~----~----~------~----~------~--~---