summaryrefslogtreecommitdiff
path: root/app/taxonomy
diff options
context:
space:
mode:
Diffstat (limited to 'app/taxonomy')
-rw-r--r--app/taxonomy/models.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/taxonomy/models.py b/app/taxonomy/models.py
index 4db3294..06f3ab8 100644
--- a/app/taxonomy/models.py
+++ b/app/taxonomy/models.py
@@ -1,6 +1,5 @@
from django.contrib.gis.db import models
from django.urls import reverse
-from django.utils.translation import ugettext_lazy as _
from django.utils.functional import cached_property
from taggit.models import TagBase, GenericTaggedItemBase
@@ -11,8 +10,8 @@ class LuxTag(TagBase):
color_rgb = models.CharField(max_length=20, blank=True)
class Meta:
- verbose_name = _("Tag")
- verbose_name_plural = _("Tags")
+ verbose_name = ("Tag")
+ verbose_name_plural = ("Tags")
@cached_property
def get_absolute_url(self):
@@ -37,8 +36,8 @@ class Category(models.Model):
return self.name
class Meta:
- verbose_name = _("Category")
- verbose_name_plural = _("Categories")
+ verbose_name = ("Category")
+ verbose_name_plural = ("Categories")
def get_absolute_url(self):
return reverse("taxonomy:cat-detail", kwargs={"slug": self.slug})