I am newbie in Django and notably its inheritance tools. I have the following architecture:
class BaseMixin(models.Model): effective_from = models.DateTimeField(blank = True, null = True) class Meta: abstract = True class QuerySetManager(models.Manager): def get_queryset(self): # ... def __getattr__(self, attr, *args): return getattr(self.get_queryset(), attr, *args) def save(self, *args, **kwargs): # I want this method to be deployed for my_model_instance.save() class MyModel(BaseMixin): # ... objects = QuerySetManager() class Meta: managed = False db_table = 'my_model' class QuerySet(QuerySet): # ... So my goal is to call QuerySetManager's save method when trying to save changes to my_model_instance. The question is, should I overload save method in BaseMixin ? Or in QuerySetManager ? I tied both, and as for now, Django ignores my custom save method in both cases.