diff --git a/tags/urls.py b/tags/urls.py index 66547afd..ea9c4ea0 100644 --- a/tags/urls.py +++ b/tags/urls.py @@ -1,12 +1,12 @@ -from django.urls import path -from . import views +from django.urls import re_path +from . import views app_name = "tags" urlpatterns = [ - path( - "/", + re_path( + r"^(?P[\w-]+)/$", views.TaggedPageListView.as_view(), name="tagged_page_list", ),