#13086: Field.get_choices() shouldn't add blank_choice if there is an
equivalent in
self.choices
-------------------------------------+--------------------------------------
Reporter: skoom | Owner: nobody
Status: closed | Milestone:
Component: Core framework | Version: SVN
Resolution: wontfix | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by skoom):
Replying to [comment:3 russellm]:
> Marking wontfix because there are already ways to do this; we don't need
another.
How can I do it? I have 14 (two for each day) TimeField with 24 (hourly)
choices and one blank choice I want to be 'Not Available'
Is there an easy way to do this without having to redefine all 14 fields
in the ModelForm?
--
Ticket URL: <http://code.djangoproject.com/ticket/13086#comment:4>
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.