mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 13:01:50 +02:00
Change models.py to have Project.default_currency
This commit is contained in:
parent
a83ebe3d7b
commit
2557d14fbc
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class Project(db.Model):
|
|||
contact_email = db.Column(db.String(128))
|
||||
members = db.relationship("Person", backref="project")
|
||||
|
||||
default_currency = "USD"
|
||||
default_currency = db.Column(db.String(3))
|
||||
|
||||
@property
|
||||
def _to_serialize(self):
|
||||
|
|
Loading…
Reference in a new issue