On 10 déc, 11:18, [EMAIL PROTECTED] wrote:
> Hi,
>
> I've got a ManyToMany-Field in my user-get_profile model. Now I've got these
> lines of code:
>
> 1. up = user.get_profile()
> 2. up.groups.add(bla)
> 3. up.groups.save()
> 4. up.save()
>
> Is it necessary to call up.groups.save() (line 3)
No.
Hi,
I've got a ManyToMany-Field in my user-get_profile model. Now I've got these
lines of code:
1. up = user.get_profile()
2. up.groups.add(bla)
3. up.groups.save()
4. up.save()
Is it necessary to call up.groups.save() (line 3) and it is necessary to call
up.save() (line 4) ? Afaik there is n
2 matches
Mail list logo