refactor: remove animal detail view

This commit is contained in:
2025-06-17 17:02:42 +02:00
parent 5ae5e90461
commit d81408b79c
3 changed files with 0 additions and 17 deletions

View File

@@ -169,12 +169,6 @@ def adoption_notice_edit(request, adoption_notice_id):
return render(request, 'fellchensammlung/forms/form-animal.html', context={"form": form})
def animal_detail(request, animal_id):
animal = Animal.objects.get(id=animal_id)
context = {"animal": animal}
return render(request, 'fellchensammlung/details/detail_animal.html', context=context)
def search_important_locations(request, important_location_slug):
i_location = get_object_or_404(ImportantLocation, slug=important_location_slug)
search = Search()