X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3276983123b2b6c99285d2a10820255f433deec8..a9226097c8eea0591fd3249f62a71becc6d2be93:/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), ]