diff --git a/zinnia/tests/implementations/urls/custom_detail_views.py b/zinnia/tests/implementations/urls/custom_detail_views.py index cbae2b758..73f5a51cb 100644 --- a/zinnia/tests/implementations/urls/custom_detail_views.py +++ b/zinnia/tests/implementations/urls/custom_detail_views.py @@ -47,10 +47,10 @@ class CustomCategoryDetail(CustomModelDetailMixin, CategoryDetail): url(r'^categories/(?P[-\/\w]+)/$', CustomCategoryDetail.as_view(), name='zinnia_category_detail'), - url(r'^tags/(?P[^/]+(?u))/$', + url(r'^tags/(?P[^/]+)/$', CustomTagDetail.as_view(), name='zinnia_tag_detail'), - url(r'^tags/(?P[^/]+(?u))/page/(?P\d+)/$', + url(r'^tags/(?P[^/]+)/page/(?P\d+)/$', CustomTagDetail.as_view(), name='zinnia_tag_detail_paginated'), ] + test_urlpatterns diff --git a/zinnia/urls/feeds.py b/zinnia/urls/feeds.py index b192d9256..a0c8ad563 100644 --- a/zinnia/urls/feeds.py +++ b/zinnia/urls/feeds.py @@ -24,7 +24,7 @@ url(_(r'^search/$'), SearchEntries(), name='entry_search_feed'), - url(_(r'^tags/(?P[^/]+(?u))/$'), + url(_(r'^tags/(?P[^/]+)/$'), TagEntries(), name='tag_feed'), url(_(r'^authors/(?P[.+-@\w]+)/$'), diff --git a/zinnia/urls/tags.py b/zinnia/urls/tags.py index e561d9d00..2b3d831a6 100644 --- a/zinnia/urls/tags.py +++ b/zinnia/urls/tags.py @@ -10,10 +10,10 @@ url(r'^$', TagList.as_view(), name='tag_list'), - url(r'^(?P[^/]+(?u))/$', + url(r'^(?P[^/]+)/$', TagDetail.as_view(), name='tag_detail'), - url(_(r'^(?P[^/]+(?u))/page/(?P\d+)/$'), + url(_(r'^(?P[^/]+)/page/(?P\d+)/$'), TagDetail.as_view(), name='tag_detail_paginated'), ]