X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2f9cb34a07fcd98effda2fa900e48c31813f14c8..1f49ab5c41b30ea9ce3db87b72999b845681cd64:/apps/catalogue/models/publish_log.py diff --git a/apps/catalogue/models/publish_log.py b/apps/catalogue/models/publish_log.py index cbbcf9ae..2dfff9ec 100755 --- a/apps/catalogue/models/publish_log.py +++ b/apps/catalogue/models/publish_log.py @@ -12,7 +12,7 @@ from dvcs.models import Revision class PublishRecord(models.Model): """A record left after publishing a Document.""" - document = models.ForeignKey('Document', verbose_name=_('document'), related_name='publish_log') + document = models.ForeignKey('catalogue.Document', verbose_name=_('document'), related_name='publish_log') revision = models.ForeignKey(Revision, verbose_name=_('revision'), related_name='publish_log') timestamp = models.DateTimeField(_('time'), auto_now_add=True) user = models.ForeignKey(settings.AUTH_USER_MODEL, verbose_name=_('user')) @@ -20,4 +20,4 @@ class PublishRecord(models.Model): class Meta: ordering = ['-timestamp'] verbose_name = _('book publish record') - verbose_name = _('book publish records') + verbose_name_plural = _('book publish records')