Skip to content
Snippets Groups Projects
Commit 9ba785f1 authored by Lukas Schneider's avatar Lukas Schneider
Browse files

Add hr name for toplevel and sublevel category

parent 1ea21c45
No related branches found
No related tags found
No related merge requests found
...@@ -67,8 +67,8 @@ class ToplevelProductCategories(IntEnum): ...@@ -67,8 +67,8 @@ class ToplevelProductCategories(IntEnum):
class ProductCategory(models.Model): class ProductCategory(models.Model):
toplevel = models.IntegerField(choices=[(tag, tag.value) for tag in ToplevelProductCategories]) toplevel = models.IntegerField(_("Toplevel category"), choices=[(tag, tag.value) for tag in ToplevelProductCategories])
sublevel = models.TextField(null=False, unique=True) sublevel = models.TextField(_("Sublevel category"), null=False, unique=True)
class ProductIdentifierTypes(IntEnum): class ProductIdentifierTypes(IntEnum):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment