Mercurial > public > sg101
diff gpp/podcast/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 | 76ad86454ce9 |
children | d424b8bae71d |
line wrap: on
line diff
--- a/gpp/podcast/models.py Tue Jun 08 03:22:26 2010 +0000 +++ b/gpp/podcast/models.py Thu Jun 10 03:31:57 2010 +0000 @@ -56,6 +56,8 @@ class Meta: ordering = ('-pubdate', ) + verbose_name = 'podcast' + verbose_name_plural = 'podcasts' def search_title(self): return "%s: %s" % (self.title, self.subtitle)