#5247: ModelMultipleChoiceField doesn't select initial choices
-------------------------------------+-------------------------------------
Reporter: uhlr@… | Owner: alexr
Status: closed | Milestone:
Component: Forms | Version: SVN
Resolution: | Keywords:
worksforme | ModelMultipleChoiceField
Triage Stage: Accepted | SelectMultiple
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 1 | Needs tests: 1
-------------------------------------+-------------------------------------
Changes (by alexr):
* status: new => closed
* resolution: => worksforme
Comment:
I tested the original problem a couple different ways and couldn't get it
to show up.
I tested it with a !ModelForm, which correctly highlighted values when
given an existing instance. I also tested with a normal Form and passed a
queryset as the initial argument. This worked too.
Marking this as worksforme. David, if you have a problem that is similar
but different, it'd probably be good to make a new ticket so it doesn't
get lost in the 4 year history of this ticket.
--
Ticket URL: <http://code.djangoproject.com/ticket/5247#comment:20>
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.