Opened 9 years ago

Closed 8 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 Schilling Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

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 9 years ago by Jeff Anderson

Component: UncategorizedAdmin interface
Triage Stage: UnreviewedAccepted
Version: SVNnewforms-admin

comment:2 Changed 8 years ago by Christian Schilling

Cc: Christian Schilling added

comment:3 Changed 8 years ago by mrts

Resolution: duplicate
Status: newclosed

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

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