mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 13:01:50 +02:00
Add default currency to Project model
This commit is contained in:
parent
9dd4631654
commit
0bcdc55af0
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ class Project(db.Model):
|
||||||
contact_email = db.Column(db.String(128))
|
contact_email = db.Column(db.String(128))
|
||||||
members = db.relationship("Person", backref="project")
|
members = db.relationship("Person", backref="project")
|
||||||
|
|
||||||
|
default_currency = "USD"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _to_serialize(self):
|
def _to_serialize(self):
|
||||||
obj = {
|
obj = {
|
||||||
|
|
Loading…
Reference in a new issue