+ bracket

This commit is contained in:
Nico Schottelius 2020-02-23 09:44:55 +01:00
parent de06b9ee22
commit ce0da4b827

View file

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