forked from CGM_Public/pretix_original
Category names ought to be an internationalized field
This commit is contained in:
@@ -548,7 +548,7 @@ class ItemCategory(Versionable):
|
|||||||
on_delete=models.CASCADE,
|
on_delete=models.CASCADE,
|
||||||
related_name='categories',
|
related_name='categories',
|
||||||
)
|
)
|
||||||
name = models.CharField(
|
name = I18nCharField(
|
||||||
max_length=255,
|
max_length=255,
|
||||||
verbose_name=_("Category name"),
|
verbose_name=_("Category name"),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user