Category names ought to be an internationalized field

This commit is contained in:
Raphael Michel
2015-04-05 23:20:08 +02:00
parent f563217529
commit 5fa5a88bcd

View File

@@ -548,7 +548,7 @@ class ItemCategory(Versionable):
on_delete=models.CASCADE,
related_name='categories',
)
name = models.CharField(
name = I18nCharField(
max_length=255,
verbose_name=_("Category name"),
)