X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3276983123b2b6c99285d2a10820255f433deec8..243ac5a586da9e5abb87698306794b6cc173ded1:/src/references/urls.py diff --git a/src/references/urls.py b/src/references/urls.py index bc6c10499..1c0e46c48 100644 --- a/src/references/urls.py +++ b/src/references/urls.py @@ -1,8 +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), ]