Merge branch 'admin_link' into develop

This commit is contained in:
2025-06-23 12:30:09 +02:00
2 changed files with 7 additions and 1 deletions

View File

@@ -686,8 +686,10 @@ def list_rescue_organizations(request, template='fellchensammlung/animal-shelter
def detail_view_rescue_organization(request, rescue_organization_id,
template='fellchensammlung/details/detail-rescue-organization.html'):
org = RescueOrganization.objects.get(pk=rescue_organization_id)
org_meta = org._meta
return render(request, template,
context={"org": org, "map_center": org.position, "zoom_level": 6, "map_pins": [org]})
context={"org": org, "map_center": org.position, "zoom_level": 6, "map_pins": [org],
"org_meta": org_meta})
def export_own_profile(request):