Opened 3 years ago
Closed 3 years ago
#33622 closed New feature (fixed)
Allow overriding FormSet's error messages for too few and too many forms.
Description ¶
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)
by , 3 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 3 years ago
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 |
comment:2 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 3 years ago
Patch needs improvement: | set |
---|
comment:5 by , 3 years ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
Thanks for the ticket, sounds reasonable. Please submit PR via GitHub. Tests and release notes are required.