From 83b64f89acdee46f808b8a879fee9ea2c85f19b4 Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Wed, 1 Aug 2018 08:10:09 +0300 Subject: [PATCH] reffactor core model --- core/models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/models.py b/core/models.py index 1ea9620..ddb74d0 100644 --- a/core/models.py +++ b/core/models.py @@ -42,9 +42,10 @@ class AbstractDateTimeModel(models.Model): class Meta: abstract = True + # @TODO: translate into english and use translation -class AbstractStatusModel(AbstractDateTimeModel): - status = models.SmallIntegerField(_('статус'),default=STATUS_DEFAULT, choices=STATUS_CHOICES) +class AbstractStatusModel(AbstractDateTimeModel): + status = models.SmallIntegerField(_('статус'), default=STATUS_DEFAULT, choices=STATUS_CHOICES) objects = ActualOnlyManager() deleted = DeletedManager()