X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3276983123b2b6c99285d2a10820255f433deec8..2c101e78aee8cd3ccf3f24a0ecaa22fa77593c5c:/src/references/urls.py diff --git a/src/references/urls.py b/src/references/urls.py index bc6c10499..e83b46334 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('', views.pin_map), path('popup/', views.popup), + re_path(r'^(?P[a-zA-Z0-9-/]*)/$', views.pin_map_tagged), ]