Skip to content
Browse files

Added a class Meta for Categories to set the plural correctly.

  • Loading branch information...
1 parent 41df1c7 commit 6e41ef15898901102e7eb23642fe0c6f138a549d @matthewbdaly committed Mar 24, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 blogengine/models.py
View
3 blogengine/models.py
@@ -7,6 +7,9 @@ class Category(models.Model):
slug = models.SlugField(max_length=40, unique=True)
description = models.TextField()
+ class Meta:
+ verbose_name_plural = "Categories"
+
def __unicode__(self):
return self.title

0 comments on commit 6e41ef1

Please sign in to comment.
Something went wrong with that request. Please try again.