Sorry, I should have clarified. I have been logging.  I've logged
pretty much every variable in every method.  It's all there and
properly set until it has to be retrieved from the next form in the
wizard; and if there's an error in an unrelated field, the values do
not show as selected in the items field.

I've also tried setting self.cleaned_data['items'] instead of
returning a new dictionary from clean().  I've tried setting
self.fields['items'].initial.  No dice.

So either I'm probably doing something really dumb, but can't pin it
down, or Django just doesn't support setting the values of a
ModelMultipleChoiceField in the clean() method.



On May 16, 3:36 pm, Shawn Milochik <sh...@milochik.com> wrote:
> Try putting logging statements at strategic points and see when your
> expectations aren't met.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to