#13181: ChoiceField.choices need to accept callable, not only list or tuple
---------------------------------+------------------------------------------
Reporter: mariarchi | Owner: nobody
Status: new | Milestone:
Component: Forms | Version: 1.2-beta
Resolution: | Keywords: ChoiceField, choices
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Changes (by mariarchi):
* needs_better_patch: => 0
* needs_tests: => 1
* needs_docs: => 0
Comment:
I would've written up tests, but I didn't really get how to add methods to
regression tests - all functions have numbers - do you have to rename
everything below inserted one?
--
Ticket URL: <http://code.djangoproject.com/ticket/13181#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.