Re: get_profile() and save()

2008-12-10 Thread bruno desthuilliers
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.

get_profile() and save()

2008-12-10 Thread leonardo
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