+ bracket

This commit is contained in:
Nico Schottelius 2020-02-23 09:44:55 +01:00
parent de06b9ee22
commit ce0da4b827
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class Product(models.Model):
('created_active', 'Created'),
('deleted', 'Deleted')
)
)
def __str__(self):
return "{}".format(self.name)