Opened 14 years ago

Closed 14 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: no UI/UX: no

Description

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 by Karen Tracey, 14 years ago

Resolution: duplicate
Status: newclosed

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

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