Fix ItemCategory __str__()

This commit is contained in:
Raphael Michel
2015-04-05 23:31:12 +02:00
parent 5fa5a88bcd
commit 060a2e8b9b
2 changed files with 2 additions and 2 deletions

View File

@@ -562,7 +562,7 @@ class ItemCategory(Versionable):
ordering = ('position', 'id')
def __str__(self):
return self.name
return str(self.name)
def delete(self, *args, **kwargs):
super().delete(*args, **kwargs)