fix: Show all adoption nitices
This commit is contained in:
parent
29667c86b9
commit
96c82ef8e5
@ -26,7 +26,7 @@ def animal_detail(request, animal_id):
|
|||||||
|
|
||||||
|
|
||||||
def search(request):
|
def search(request):
|
||||||
latest_adoption_list = AdoptionNotice.objects.order_by("-created_at")[:5]
|
latest_adoption_list = AdoptionNotice.objects.order_by("-created_at")
|
||||||
context = {"adoption_notices": latest_adoption_list}
|
context = {"adoption_notices": latest_adoption_list}
|
||||||
return render(request, 'fellchensammlung/search.html', context=context)
|
return render(request, 'fellchensammlung/search.html', context=context)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user