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
|
self.amount = amount
|
||||||
|
|
||||||
def __repr__(self):
|
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):
|
class Transaction(Base):
|
||||||
|
|
Loading…
Reference in New Issue