From e4cd75d51ff5d14804f0242e0791203b1211d5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 3 Jan 2023 22:04:36 +0100 Subject: [PATCH] Use add.html for add_purchase --- src/web/tracker/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/tracker/views.py b/src/web/tracker/views.py index 54f95f3..3a27817 100644 --- a/src/web/tracker/views.py +++ b/src/web/tracker/views.py @@ -47,7 +47,8 @@ def add_purchase(request): form.save() context["form"] = form - return render(request, "add_purchase.html", context) + context["title"] = "Add New Purchase" + return render(request, "add.html", context) def add_game(request):