Allow overriding FormSet's error messages for too few and too many forms.
Moving the messages to default_error_messages
enables overriding them via the error_messages
argument when instantiating the FormSet
.
I would prefer being able to override them via inlineformset_factory
, but that is for another day.
Change History
(7)
Has patch: |
unset
|
Summary: |
Allow overriding `too_few_forms` and `too_many_forms` validation errors in `FormSet`s → Allow overriding FormSet's error messages for too few and too many forms.
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Marc Seguí Coll
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Thanks for the ticket, sounds reasonable. Please submit PR via GitHub. Tests and release notes are required.