1
0
mirror of https://github.com/django/django.git synced 2025-07-04 01:39:20 +00:00

i18n: fixed a bug that crept in with latest translation for new admin

git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Georg Bauer 2005-10-19 23:59:05 +00:00
parent 72dcdd4de1
commit f29aab5447

View File

@ -5,7 +5,7 @@ from django.utils.translation import gettext_lazy as _
class LogEntry(meta.Model):
action_time = meta.DateTimeField(_('action time'), auto_now=True)
user = meta.ForeignKey(auth.User)
content_type = meta.ForeignKey(_('content type'), core.ContentType, blank=True, null=True)
content_type = meta.ForeignKey(core.ContentType, blank=True, null=True)
object_id = meta.TextField(_('object id'), blank=True, null=True)
object_repr = meta.CharField(_('object repr'), maxlength=200)
action_flag = meta.PositiveSmallIntegerField(_('action flag'))