Author: jezdez
Date: 2011-08-12 07:14:39 -0700 (Fri, 12 Aug 2011)
New Revision: 16601

Modified:
   django/trunk/django/contrib/admin/models.py
Log:
Fixed #16438 -- Corrected whitespace in admin models module. Thanks, 
philipkimmey.

Modified: django/trunk/django/contrib/admin/models.py
===================================================================
--- django/trunk/django/contrib/admin/models.py 2011-08-12 14:14:33 UTC (rev 
16600)
+++ django/trunk/django/contrib/admin/models.py 2011-08-12 14:14:39 UTC (rev 
16601)
@@ -23,7 +23,9 @@
     object_repr = models.CharField(_('object repr'), max_length=200)
     action_flag = models.PositiveSmallIntegerField(_('action flag'))
     change_message = models.TextField(_('change message'), blank=True)
+
     objects = LogEntryManager()
+
     class Meta:
         verbose_name = _('log entry')
         verbose_name_plural = _('log entries')
@@ -34,7 +36,6 @@
         return smart_unicode(self.action_time)
 
     def __unicode__(self):
-
         if self.action_flag == ADDITION:
             return _('Added "%(object)s".') % {'object': self.object_repr}
         elif self.action_flag == CHANGE:

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to