Ok, thanks Russell, I will do that. Just first wanted to confirm I
wasn't missing something.
Margie
On Dec 3, 3:59 pm, Russell Keith-Magee wrote:
> On Fri, Dec 4, 2009 at 6:23 AM, Margie Roginski
>
>
>
> wrote:
> > In forms/models.py I see this:
>
> > def save_m2m():
> > opts = insta
On Fri, Dec 4, 2009 at 6:23 AM, Margie Roginski
wrote:
> In forms/models.py I see this:
>
> def save_m2m():
> opts = instance._meta
> cleaned_data = form.cleaned_data
> for f in opts.many_to_many:
> if fields and f.name not in fields:
> continue
>
In forms/models.py I see this:
def save_m2m():
opts = instance._meta
cleaned_data = form.cleaned_data
for f in opts.many_to_many:
if fields and f.name not in fields:
continue
if f.name in cleaned_data:
f.save_form_
3 matches
Mail list logo