Categories management

This commit is contained in:
Raphael Michel
2014-09-29 21:52:29 +02:00
parent ffd3e52584
commit 844c5d6545
4 changed files with 147 additions and 28 deletions

View File

@@ -342,7 +342,7 @@ class ItemCategory(models.Model):
verbose_name=_("Category name"),
)
position = models.IntegerField(
null=True, blank=True
default=0
)
def __str__(self):