diff options
Diffstat (limited to 'app/taxonomy/models.py')
-rw-r--r-- | app/taxonomy/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/taxonomy/models.py b/app/taxonomy/models.py index 38f1bf7..18d7ae3 100644 --- a/app/taxonomy/models.py +++ b/app/taxonomy/models.py @@ -34,6 +34,10 @@ class Category(models.Model): def __str__(self): return self.name + + class Meta: + verbose_name = _("Category") + verbose_name_plural = _("Categories") def get_absolute_url(self): return reverse("taxonomy:categories", kwargs={"slug": self.slug}) |