Opened 17 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 , 16 years ago
Component: | Uncategorized → Admin interface |
---|---|
Triage Stage: | Unreviewed → Accepted |
Version: | SVN → newforms-admin |
comment:2 by , 16 years ago
Cc: | added |
---|
comment:3 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This will be handled by model validation. See #6845.