diff --git a/budget/templates/dashboard.html b/budget/templates/dashboard.html index 796f4f4..e9c92dd 100644 --- a/budget/templates/dashboard.html +++ b/budget/templates/dashboard.html @@ -7,8 +7,8 @@ {{ project.name }}{{ project.members | count }}{{ project.get_bills().count() }} {% if project.has_bills() %} -{{ project.get_bills()[0].date }} -{{ project.get_bills()[-1].date }} +{{ project.get_bills().all()[0].date }} +{{ project.get_bills().all()[-1].date }} {% else %}