Formsets - formset.required_forms not implemented?
|Reported by:||Owned by:||Adrian Holovaty|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Setting formset.required_forms seems to make no difference to formset validation.
I guess we need something similar to ErrorDict to handle formset errors?
Since form errors will most likely be accessed directly, I tend to think the default formset.errors should be reserved for formset errors instead of individual formset errors, or at least a combination of the two.
Then formset.form_errors could be used to return the list of individual forms' errors.
Change History (7)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|