I just created my own ModelMultipleChoiceField class by copying and
pasting and changing up some stuff in the ModelChoiceField.

On Oct 13, 3:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> So below I have a snippet of my model form code. I was wondering does
> anyone know the correct format for the choices attribute of the
> ModelChoiceField class.
>
> channel =
> djangoforms.ModelChoiceField(Channel,query=Channel.all().filter('publish_status
> = ',True).filter('user =
> ',users.get_current_user()),choices=(Channel.title,Channel.title),widget=djangoforms.forms.SelectMultiple)
>
> Thanks,
> Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to