#15950: Allow ChoiceField and friends to take a callable for choices kwarg
---------------------------------------+------------------------
Reporter: jdunck | Owner: nobody
Type: New feature | Status: new
Milestone: | Component: Forms
Version: 1.3 | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
---------------------------------------+------------------------
Changes (by jezdez):
* component: Uncategorized => Forms
* stage: Unreviewed => Accepted
Comment:
Yeah, seems reasonable, although I'd prefer something like what the model
fields do, taking any iterable instead:
http://code.djangoproject.com/browser/django/trunk/django/db/models/fields/__init__.py?rev=15982#L393
Would that solve the issue for you, too?
--
Ticket URL: <http://code.djangoproject.com/ticket/15950#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.