fikset en bug i db.py
This commit is contained in:
parent
698ab3c15a
commit
06affffcba
2
db.py
2
db.py
@ -68,7 +68,7 @@ class PurchaseEntry(Base):
|
||||
self.amount = amount
|
||||
|
||||
def __repr__(self):
|
||||
return "<PurchaseEntry('%s', '%s', '%s')>" % (self.purchase.user.user, self.product.name, self.amount )
|
||||
return "<PurchaseEntry('%s', '%s')>" % (self.product.name, self.amount )
|
||||
|
||||
|
||||
class Transaction(Base):
|
||||
|
Loading…
Reference in New Issue
Block a user