designerid renamed to id

This commit is contained in:
Martin
2016-07-09 21:33:12 +02:00
parent 1a805ec69e
commit 956898e3b5
+1 -1
View File
@@ -43,10 +43,10 @@ class Designer(db.Model):
def to_json(self):
return {
'id': self.id,
'commission': self.commission,
'commission_resale': self.commission_resale,
'currency': self.currency,
'designerid': self.id,
'name': self.name,
'no_follow': self.no_follow,
'path': self.path,