Opened 19 years ago
Closed 19 years ago
#341 closed enhancement (wontfix)
unique option
Reported by: | Bless | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | 1.0 |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When you use meta.ForeignKey ([] ,unique=True) or a field with 'choices=... ,unique=True' option, it would be well that the select box in form could show us the valid options only.
Note:
See TracTickets
for help on using tickets.
There are a couple of problems with this idea: Mainly that, if the form displays only the available options, and somebody *else* makes a change so that the options change, the admin form will be out of sync with reality.