Opened 5 years ago

Closed 5 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:

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 Changed 5 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

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

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