From 47e993c8aec6d7491e2bf994bcf8670bd7db35a8 Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 30 May 2024 11:47:18 +0200 Subject: [PATCH] refactor --- src/fellchensammlung/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fellchensammlung/views.py b/src/fellchensammlung/views.py index 66d98eb..e0faa5d 100644 --- a/src/fellchensammlung/views.py +++ b/src/fellchensammlung/views.py @@ -46,6 +46,7 @@ def adoption_notice_detail(request, adoption_notice_id): context = {"adoption_notice": adoption_notice} return render(request, 'fellchensammlung/details/detail_adoption_notice.html', context=context) + def adoption_notice_edit(request, adoption_notice_id): """ Form to update adoption notices @@ -61,6 +62,7 @@ def adoption_notice_edit(request, adoption_notice_id): form = AdoptionNoticeForm(instance=adoption_notice) return render(request, 'fellchensammlung/forms/form-adoption-notice.html', context={"form": form}) + def animal_detail(request, animal_id): animal = Animal.objects.get(id=animal_id) context = {"animal": animal}