refactor: remove depreacted rescue org view

This commit is contained in:
2025-06-17 16:55:38 +02:00
parent ccdfd388c4
commit a8b3214c49
3 changed files with 2 additions and 19 deletions

View File

@@ -683,16 +683,12 @@ def bulma_external_site_warning(request):
return external_site_warning(request, 'fellchensammlung/bulma-external_site_warning.html')
def list_rescue_organizations(request, template='fellchensammlung/animal-shelters.html'):
def list_rescue_organizations(request, template='fellchensammlung/bulma-animal-shelters.html'):
rescue_organizations = RescueOrganization.objects.all()
context = {"rescue_organizations": rescue_organizations}
return render(request, template, context=context)
def bulma_list_rescue_organizations(request):
return list_rescue_organizations(request, template='fellchensammlung/bulma-animal-shelters.html')
def detail_view_rescue_organization(request, rescue_organization_id,
template='fellchensammlung/details/bulma-detail-rescue-organization.html'):
org = RescueOrganization.objects.get(pk=rescue_organization_id)