I have a problem with inheritance :
class ContainPj(models.Model): id_scribe=models.IntegerField() id_pj=models.IntegerField() class Meta : abstract = True class Member(ContainPj): pass class Collab(Member): pass
I make :
m = Member(id_scribe=..., id_pj=...)
c = Collab(m)
and thither :
TypeError: int() argument must be a string or a number, not 'Member'
I don't understand... and I research on the web and I haven't found one solution...