mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
Correct Name in Models.py
Corrected 'Georg' to 'George'
This commit is contained in:
parent
e9b7426a98
commit
ec3fb3afb3
1 changed files with 3 additions and 3 deletions
|
@ -521,7 +521,7 @@ class Project(db.Model):
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
members = {}
|
members = {}
|
||||||
for name in ("Amina", "Georg", "Alice"):
|
for name in ("Amina", "George", "Alice"):
|
||||||
person = Person()
|
person = Person()
|
||||||
person.name = name
|
person.name = name
|
||||||
person.project = project
|
person.project = project
|
||||||
|
@ -533,9 +533,9 @@ class Project(db.Model):
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
operations = (
|
operations = (
|
||||||
("Georg", 200, ("Amina", "Georg", "Alice"), "Food shopping"),
|
("George", 200, ("Amina", "George", "Alice"), "Food shopping"),
|
||||||
("Alice", 20, ("Amina", "Alice"), "Beer !"),
|
("Alice", 20, ("Amina", "Alice"), "Beer !"),
|
||||||
("Amina", 50, ("Amina", "Alice", "Georg"), "AMAP"),
|
("Amina", 50, ("Amina", "Alice", "George"), "AMAP"),
|
||||||
)
|
)
|
||||||
for (payer, amount, owers, what) in operations:
|
for (payer, amount, owers, what) in operations:
|
||||||
db.session.add(
|
db.session.add(
|
||||||
|
|
Loading…
Reference in a new issue