Use add.html for add_purchase

This commit is contained in:
Lukáš Kucharczyk 2023-01-03 22:04:36 +01:00
parent b1c8f58855
commit e4cd75d51f
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ def add_purchase(request):
form.save() form.save()
context["form"] = form 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): def add_game(request):