Permalink
Browse files

re #104 (Category isn't pluralized in the "Site administration")

 * add a plural name for the category model

Signed-off-by: Patrick Lauber <patrick.lauber@divio.ch>
  • Loading branch information...
1 parent f6707dd commit f671654a1e9646a3c5cc6ea0c11520282916b74e @cortextual cortextual committed with digi604 Jul 25, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 example/categories/models.py
@@ -15,7 +15,10 @@ def get_title(self):
def get_absolute_url(self):
return reverse('category_view', args=[self.pk])
+ class Meta:
+ verbose_name_plural = 'categories'
+
try:
mptt.register(Category)
except mptt.AlreadyRegistered:
- pass
+ pass

0 comments on commit f671654

Please sign in to comment.