# HG changeset patch # User neko259 # Date 2017-12-04 08:58:49 # Node ID 4779190b241ba0304c41fe2169fc1680795cdc1b # Parent e456de3639a7dc75604d58714d55b2e4ccb37e57 Fix tag gallery to be used as separate url diff --git a/boards/urls.py b/boards/urls.py --- a/boards/urls.py +++ b/boards/urls.py @@ -22,7 +22,7 @@ urlpatterns = [ path('all/', all_threads.AllThreadsView.as_view(), name='index'), # /boards/tag/tag_name/ - url(r'^tag/(?P[\w\d\']+)/', tag_threads.TagView.as_view(), + url(r'^tag/(?P[\w\d\']+)/$', tag_threads.TagView.as_view(), name='tag'), url(r'^tag/(?P[\w\d\']+)/gallery/$', TagGalleryView.as_view(), name='tag_gallery'),