<reponame>draihal/main-pr<gh_stars>1-10
from django.db import models


class TimestampMixin(models.Model):
    created_at = models.DateTimeField('Создан', auto_now_add=True)
    updated_at = models.DateTimeField('Последнее обновление', auto_now=True)

    class Meta:
        abstract = True

from django.db import models


class TimestampMixin(models.Model):
    created_at = models.DateTimeField('Создан', auto_now_add=True)
    updated_at = models.DateTimeField('Последнее обновление', auto_now=True)

    class Meta:
        abstract = True