mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Marked a few labels for translation.
This commit is contained in:
parent
7716c6397e
commit
73b211309d
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
from django.db import models
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from model_utils.fields import AutoCreatedField, AutoLastModifiedField
|
||||
|
||||
|
|
@ -34,8 +35,8 @@ class TimeStampedModel(models.Model):
|
|||
``created`` and ``modified`` fields.
|
||||
|
||||
"""
|
||||
created = AutoCreatedField()
|
||||
modified = AutoLastModifiedField()
|
||||
created = AutoCreatedField(_('created'))
|
||||
modified = AutoLastModifiedField(_('modified'))
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue