You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something like this doesn't work, I think. Definitely doesn't work if MyModel is concrete subclass of abstract model.
class MyMixin(object):
def save(self, *args, **kwargs):
# do something
super(MyMixin, self).save(*args, **kwargs)
class MyModel(MyMixin, models.Model):
name = models.CharField()
From @mivanov on December 1, 2012 0:51
Something like this doesn't work, I think. Definitely doesn't work if MyModel is concrete subclass of abstract model.
Copied from original issue: localwiki/localwiki#384
The text was updated successfully, but these errors were encountered: