feat: add All Transactions as valid start page

This commit is contained in:
Herculino Trotta
2024-10-27 21:54:21 -03:00
parent bfd0cc45a3
commit 0a5d93027e
2 changed files with 20 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ def index(request):
return redirect(reverse("yearly_index"))
elif request.user.settings.start_page == UserSettings.StartPage.NETWORTH:
return redirect(reverse("net_worth"))
elif request.user.settings.start_page == UserSettings.StartPage.ALL_TRANSACTIONS:
return redirect(reverse("transactions_all_index"))
else:
return redirect(reverse("monthly_index"))