Opened 16 years ago

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

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

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

comment:2 by Christian Schilling, 16 years ago

Cc: Christian Schilling added

comment:3 by mrts, 16 years ago

Resolution: duplicate
Status: newclosed

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

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