On Wed, Feb 25, 2009 at 12:52 PM, NoviceSortOf <dljonsson2...@gmail.com>wrote:

>
> Briel, I see the userfriendlyness or even consideration in what
> you are saying, looking at the specs, actually users
> checkboxing us their interests is an optional part of
> registration process, we still we need to do it somehow.
>
> Gordy, I see the logic in what you are saying, although unclear
> on how to get the class Interest into a form, listing all of
> the rows as Boolean checkboxes, any hints on this appreciated.
>
>
> >
>
If you're using the standard django forms(which I hope you are :) ) it's
just a matter of using a MultipleModelChoiceField with a
CheckboxSelectMultiple widget, which does exactly what you want(assuming you
set it up as a many to many field).

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
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