class ConcurrentModel(models.Model):
    _change = models.IntegerField(default=0)


class Meta:
    abstract = True

def save(self, *args, **kwargs):
    cls = self.__class__
if self.pk:
    pass
Concurrency control in Django model