Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #16438 -- Corrected whitespace in admin models module. Thanks, …

…philipkimmey.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e912edec20f4d81d1b5c1a02bede1632f3beaa83 1 parent cb1d660
Jannis Leidel authored August 12, 2011

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  django/contrib/admin/models.py
3  django/contrib/admin/models.py
@@ -23,7 +23,9 @@ class LogEntry(models.Model):
23 23
     object_repr = models.CharField(_('object repr'), max_length=200)
24 24
     action_flag = models.PositiveSmallIntegerField(_('action flag'))
25 25
     change_message = models.TextField(_('change message'), blank=True)
  26
+
26 27
     objects = LogEntryManager()
  28
+
27 29
     class Meta:
28 30
         verbose_name = _('log entry')
29 31
         verbose_name_plural = _('log entries')
@@ -34,7 +36,6 @@ def __repr__(self):
34 36
         return smart_unicode(self.action_time)
35 37
 
36 38
     def __unicode__(self):
37  
-
38 39
         if self.action_flag == ADDITION:
39 40
             return _('Added "%(object)s".') % {'object': self.object_repr}
40 41
         elif self.action_flag == CHANGE:

0 notes on commit e912ede

Please sign in to comment.
Something went wrong with that request. Please try again.