On Apr 3, 3:25 am, Atilla <[EMAIL PROTECTED]> wrote:
> On 03/04/07, TaMeR <[EMAIL PROTECTED]> wrote:
> group = Group.objects.get(condition)
> new_user.groups.add(group)
>
> I'm not sure why it doesn't raise errors there though, if .add() only
> accepts a related object.
Thanks, I will try th
On 03/04/07, TaMeR <[EMAIL PROTECTED]> wrote:
>
>
> I use two registration forms one for clients one for vendors.
> Depending on form used I would like to assign the user to a group.
>
> How do I use new_user.groups.add('Client')
>
> Below is my code that does not raise any errors but also does no
I use two registration forms one for clients one for vendors.
Depending on form used I would like to assign the user to a group.
How do I use new_user.groups.add('Client')
Below is my code that does not raise any errors but also does not add
the user to the group.
= CODE =
def registe
3 matches
Mail list logo