reenabled django suit

This commit is contained in:
Sam
2021-02-02 12:21:42 +00:00
parent 02b6e9545e
commit b5887c5c51
5 changed files with 25 additions and 4 deletions

View File

@@ -43,3 +43,9 @@ class Product(models.Model):
creator = models.ForeignKey('core.CustomUser', on_delete=models.DO_NOTHING, null=True, related_name='product')
# history = models.FoiregnKey('history.History', on_delete=models.DO_NOTHING, null=True)
def __str__(self):
return f"{self.name} / {self.sku}"
class Meta:
verbose_name = "Producto"
verbose_name_plural = "Productos"