summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-05-04 17:36:34 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-05-04 17:36:34 +0000
commitf4464864c825cf534776c23beab84e79466b140d (patch)
tree6c59438f01e5e15b670d44b88e8977d9a7476e39
parent05b4f2ebc2f547d2413f738551f9933aae0d34dc (diff)
Fixed up bad return value introduced in [16120].
Refs #15661. Thanks to philippedelorme for the catch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/admin/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/models.py b/django/contrib/admin/models.py
index ae71622881..3f7dece0fe 100644
--- a/django/contrib/admin/models.py
+++ b/django/contrib/admin/models.py
@@ -42,7 +42,7 @@ class LogEntry(models.Model):
elif self.action_flag == DELETION:
return _('Deleted "%(object)s."') % {'object': self.object_repr}
- return_value = _('LogEntry Object')
+ return _('LogEntry Object')
def is_addition(self):
return self.action_flag == ADDITION