2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 17:56:30 +00:00

Stock API now hyperlinkd

This commit is contained in:
Oliver Walters
2017-04-14 23:44:24 +10:00
parent 9e3fa00fdd
commit 7c5261bc4a
4 changed files with 14 additions and 10 deletions

View File

@@ -35,6 +35,7 @@ class InvenTreeTree(models.Model):
class Meta:
abstract = True
unique_together = ('name', 'parent')
name = models.CharField(max_length=100)
description = models.CharField(max_length=250, blank=True)