Re: Model Inheritance and save

2008-10-13 Thread sanrioyt
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:1

Re: Model Inheritance and save

2008-10-13 Thread sanrioyt
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: >

Model Inheritance and save

2008-10-10 Thread sanrioyt
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() Thi