From 0690229a3b73919000396374b12f9b568f1fba66 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 13 Mar 2006 00:39:43 +0000 Subject: [PATCH] magic-removal: Fixed #1485 -- Made admin template updates for changes to LogEntry model. Thanks, Christopher Lenz git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2515 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/index.html | 2 +- django/contrib/admin/templates/admin/object_history.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/templates/admin/index.html b/django/contrib/admin/templates/admin/index.html index aabd4eecca..d9388ee733 100644 --- a/django/contrib/admin/templates/admin/index.html +++ b/django/contrib/admin/templates/admin/index.html @@ -57,7 +57,7 @@ {% else %} {% endif %} diff --git a/django/contrib/admin/templates/admin/object_history.html b/django/contrib/admin/templates/admin/object_history.html index b182f40acb..98a42b2e16 100644 --- a/django/contrib/admin/templates/admin/object_history.html +++ b/django/contrib/admin/templates/admin/object_history.html @@ -24,7 +24,7 @@ {% for action in action_list %} {{ action.action_time|date:_("DATE_WITH_TIME_FULL") }} - {{ action.get_user.username }}{% if action.get_user.first_name %} ({{ action.get_user.first_name }} {{ action.get_user.last_name }}){% endif %} + {{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %} {{ action.change_message}} {% endfor %}