#2095 closed enhancement (fixed)
[patch] allow choices to be any sequence, not just tuple or list
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | trivial | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This patch allows the 'choices' property on fields to be any sequence, not just a tuple or list. Useful for creating choices on-the-fly.
Attachments (1)
Change History (2)
by , 19 years ago
Attachment: | choices.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [3094]) Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable