a8bf2eea85f7

Fixed the plural for blog entries too.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 14 Feb 2009 11:46:36 -0500
parents 95340a47d081
children 444fa384fab8
branches/tags (none)
files blog/models.py

Changes

--- a/blog/models.py	Sat Feb 14 11:45:32 2009 -0500
+++ b/blog/models.py	Sat Feb 14 11:46:36 2009 -0500
@@ -10,6 +10,10 @@
     body = models.TextField()
     published = models.BooleanField(default=False)
     
+    class Meta:
+        verbose_name = 'entry'
+        verbose_name_plural = 'entries'
+    
     @models.permalink
     def get_absolute_url(self):
         return ('blog-entry', (self.pub_date.year, self.pub_date.month,