diff --git a/ihatemoney/models.py b/ihatemoney/models.py index c7dee1856..bae18bca1 100644 --- a/ihatemoney/models.py +++ b/ihatemoney/models.py @@ -58,7 +58,8 @@ class BillType(Enum): @classmethod def choices(cls): - return [(choice, choice.value) for choice in cls] + return [(choice.value, choice.value) for choice in cls] + db = SQLAlchemy()