Should be able to get deleted_forms on a formset even if it contains a deleted form that would have been invalid
The attached patch fixes what I think are a couple of little bugs:
- you can't get deleted_forms from a formset if it contains a deleted form that would have been invalid
- similar for ordered_forms
The bug is that the code for those functions queries cleaned_data which doesn't exist if the deleted form would have been invalid.
Triage Stage: |
Unreviewed → Design decision needed
|
Triage Stage: |
Design decision needed → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
(In [12771]) Fixed #11801 -- Corrected form validation to ensure you can still get deleted_forms and ordered_forms when a form that is being deleted doesn't validate. Thanks to dantallis for the report and patch.