From 19b5b136639253a035fc28c3284fca316c03dc19 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Sun, 10 Oct 2021 23:34:38 +0200 Subject: [PATCH] demo: create Demo project without currency This matches the default settings of both the web interface and the API regarding currencies. --- ihatemoney/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ihatemoney/models.py b/ihatemoney/models.py index b3d1cba2..e0ca0704 100644 --- a/ihatemoney/models.py +++ b/ihatemoney/models.py @@ -408,7 +408,7 @@ class Project(db.Model): name="demonstration", password=generate_password_hash("demo"), contact_email="demo@notmyidea.org", - default_currency="EUR", + default_currency="XXX", ) db.session.add(project) db.session.commit() @@ -436,7 +436,7 @@ class Project(db.Model): bill.what = subject bill.owers = [members[name] for name in owers] bill.amount = amount - bill.original_currency = "EUR" + bill.original_currency = "XXX" bill.converted_amount = amount db.session.add(bill)