X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a94e848fd865f0a887850e4858dab64c426b10db..3596cf9db6eabb5f0aa36afe7919bc40e8ff0b9a:/src/references/urls.py diff --git a/src/references/urls.py b/src/references/urls.py index 5bd2a62cc..1c0e46c48 100644 --- a/src/references/urls.py +++ b/src/references/urls.py @@ -1,7 +1,9 @@ -from django.urls import path +from django.urls import path, re_path from . import views urlpatterns = [ - path('mapa/', views.map), + path('mapa/', views.pin_map), + re_path(r'^mapa/(?P[a-zA-Z0-9-/]*)/$', views.pin_map_tagged), + path('popup/', views.popup), ]