Opened 8 years ago

Closed 8 years ago

#14647 closed (duplicate)

ModelForm fields' non-uniqueness errors aren't customizable

Reported by: teolicy Owned by: nobody
Component: Forms Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Changing error messages is done by passing the error_messages dict to the field's constructor. It seems that ModelForm fields that have unique=True in their Model field are not overridable using error_messages.

Change History (1)

comment:1 Changed 8 years ago by Karen Tracey

Resolution: duplicate
Status: newclosed

There is already an open ticket for this: #8913.

Note: See TracTickets for help on using tickets.
Back to Top