Set project_id instead of project

static-cp-fix
Drew DeVault 9 years ago
parent 1ea97dc898
commit 1b81d867ea
  1. 2
      fosspay/objects.py

@ -71,7 +71,7 @@ class Donation(Base):
self.created = datetime.now()
self.updated = datetime.now()
self.emailed_about = False
self.project = project
self.project_id = project.id
self.comment = comment
self.active = True
self.payments = 1

Loading…
Cancel
Save