diff --git a/db.py b/db.py index bfb382c..03ac4fa 100644 --- a/db.py +++ b/db.py @@ -68,7 +68,7 @@ class PurchaseEntry(Base): self.amount = amount def __repr__(self): - return "" % (self.purchase.user.user, self.product.name, self.amount ) + return "" % (self.product.name, self.amount ) class Transaction(Base):