refactor: Remove non-bulma map

This commit is contained in:
2025-06-17 07:05:32 +02:00
parent 14752d9746
commit 037f6529fd
2 changed files with 1 additions and 10 deletions

View File

@@ -49,9 +49,7 @@ urlpatterns = [
path("suchen/", views.search, name="search"),
path("suchen/<slug:important_location_slug>", views.search_important_locations, name="search-by-location"),
# ex: /map/
path("map/", views.map, name="map"),
# ex: /map/
path("bulma/map/", views.map_bulma, name="map-bulma"),
path("map/", views.map_bulma, name="map"),
# ex: /vermitteln/
path("vermitteln/", views.add_adoption_notice_bulma, name="add-adoption"),

View File

@@ -591,13 +591,6 @@ def updatequeue(request):
"adoption_notices_active": adoption_notices_active}
return render(request, 'fellchensammlung/updatequeue.html', context=context)
def map(request, templatename='fellchensammlung/map.html'):
adoption_notices = AdoptionNotice.get_active_ANs()
context = {"adoption_notices_map": adoption_notices}
return render(request, templatename, context=context)
def map_bulma(request):
return map(request, templatename='fellchensammlung/bulma-map.html')