|
|
|
@ -42,9 +42,10 @@ class AbstractDateTimeModel(models.Model): |
|
|
|
class Meta: |
|
|
|
class Meta: |
|
|
|
abstract = True |
|
|
|
abstract = True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# @TODO: translate into english and use translation |
|
|
|
# @TODO: translate into english and use translation |
|
|
|
class AbstractStatusModel(AbstractDateTimeModel): |
|
|
|
class AbstractStatusModel(AbstractDateTimeModel): |
|
|
|
status = models.SmallIntegerField(_('статус'),default=STATUS_DEFAULT, choices=STATUS_CHOICES) |
|
|
|
status = models.SmallIntegerField(_('статус'), default=STATUS_DEFAULT, choices=STATUS_CHOICES) |
|
|
|
|
|
|
|
|
|
|
|
objects = ActualOnlyManager() |
|
|
|
objects = ActualOnlyManager() |
|
|
|
deleted = DeletedManager() |
|
|
|
deleted = DeletedManager() |
|
|
|
|