#13181: ChoiceField.choices need to accept callable, not only list or tuple
--------------------------------------+------------------------------------
Reporter: mariarchi | Owner: inglesp
Type: New feature | Status: closed
Component: Forms | Version: master
Severity: Normal | Resolution: fixed
Keywords: ChoiceField, choices | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"74e1980cf96eb45079bef464fabdcbe0a6db2423"]:
{{{
#!CommitTicketReference repository=""
revision="74e1980cf96eb45079bef464fabdcbe0a6db2423"
Fixed #13181 -- Added support for callable choices to forms.ChoiceField
Thanks vanschelven and expleo for the initial patch.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/13181#comment:30>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.bbb6c7b025f4485de30b987e91b45a22%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.