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}