Mercurial > public > sg101
diff gpp/news/models.py @ 226:405468b8e3b9
For #51; change verbose_name & verbose_name_plural so that the Haystack model search form has reasonable labels.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 10 Jun 2010 03:31:57 +0000 |
parents | 71fd8454688b |
children | 1246a4f1ab4f |
line wrap: on
line diff
--- a/gpp/news/models.py Tue Jun 08 03:22:26 2010 +0000 +++ b/gpp/news/models.py Thu Jun 10 03:31:57 2010 +0000 @@ -69,7 +69,8 @@ class Meta: ordering = ('-date_submitted', ) - verbose_name_plural = 'Stories' + verbose_name = 'news story' + verbose_name_plural = 'news stories' def can_comment_on(self): now = datetime.datetime.now()