feat: add calendar as start page option

This commit is contained in:
Herculino Trotta
2024-10-30 00:27:22 -03:00
parent 63c14f9544
commit fc284d1498
3 changed files with 21 additions and 0 deletions
+2
View File
@@ -32,6 +32,8 @@ def index(request):
return redirect(reverse("net_worth"))
elif request.user.settings.start_page == UserSettings.StartPage.ALL_TRANSACTIONS:
return redirect(reverse("transactions_all_index"))
elif request.user.settings.start_page == UserSettings.StartPage.CALENDAR:
return redirect(reverse("calendar_index"))
else:
return redirect(reverse("monthly_index"))