Hi,

Sorry for not checking it further.
I think the problem was on my end.

It actually does work.

Thanks,
sanrio

On Oct 13, 10:26 am, meppum <[EMAIL PROTECTED]> wrote:
> What do you mean "this did not work"? did you get an error? or did the
> logic in model a's save not run?
>
> On Oct 13, 11:18 am, [EMAIL PROTECTED] wrote:
>
> > Can anyone help?
>
> > Thanks,
> > sanrio
>
> > On Oct 10, 11:30 am, [EMAIL PROTECTED] wrote:
>
> > > Hi,
>
> > > How does the save work, if you have a base abstract class that has
> > > save, and the parent class has save?
>
> > > For example:
>
> > > Model A:
> > >    save(self):
> > >          super(A, self).save()
>
> > >    class Meta:
> > >       abstract=True
>
> > > Model B(A):
> > >    save(self):
> > >         # Some stuff
> > >         super(B, self).save()
>
> > > This did not work. Of course, I can remove save from A, and put it all
> > > in B. But I have many classes that inherit A, and have the same save
> > > as model A.
>
> > > Any input is greatly appreciated.
>
> > > Thanks,
> > > sanrio
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to