Opened 8 years ago

Closed 7 years ago

#7247 closed (duplicate)

unique=True is not handled by newforms-admin

Reported by: anonymous Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Keywords:
Cc: christian Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Setting unique=True on a model field is enforced at the database level, but is not handled gracefully by newforms-admin, resulting in an IntegrityError.

Change History (3)

comment:1 Changed 7 years ago by programmerq

  • Component changed from Uncategorized to Admin interface
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from SVN to newforms-admin

comment:2 Changed 7 years ago by christian

  • Cc christian added

comment:3 Changed 7 years ago by mrts

  • Resolution set to duplicate
  • Status changed from new to closed

This will be handled by model validation. See #6845.

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