Here’s the model that’s causing the error.
class LineBase(BaseModel, MoreInfoMixin): """""" .... class Meta: abstract = True
BaseModel is also an abstract model.
def __init__(self, *args, **kwargs): ... super().__init__(*args, **kwargs) ### <<<< this line causes the issue ... for k, v in kwargs.items(): setattr(self, k, v)
This was working fine in Django 2.2.
I am not sure why I cannot call the init method of parent class.
Anyone has ever experienced this issue and solved it?
Should I go back to older version?
Any help would be appreciated