created_at = models.DateTimeField(default=datetime.now)
updated_at = models.DateTimeField()
def save(self, *args, **kwargs):
auto_now = kwargs.pop('updated_at_auto_now', True)
if auto_now:
self.updated_at = datetime.now()
super(Mk, self).save(*args, **kwargs)
#
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)