Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Mar 9, 2020
1 parent 95087c2 commit 881101a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions zinnia/tests/implementations/urls/custom_detail_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ class CustomCategoryDetail(CustomModelDetailMixin, CategoryDetail):
url(r'^categories/(?P<path>[-\/\w]+)/$',
CustomCategoryDetail.as_view(),
name='zinnia_category_detail'),
url(r'^tags/(?P<tag>[^/]+(?u))/$',
url(r'^tags/(?P<tag>[^/]+)/$',
CustomTagDetail.as_view(),
name='zinnia_tag_detail'),
url(r'^tags/(?P<tag>[^/]+(?u))/page/(?P<page>\d+)/$',
url(r'^tags/(?P<tag>[^/]+)/page/(?P<page>\d+)/$',
CustomTagDetail.as_view(),
name='zinnia_tag_detail_paginated'),
] + test_urlpatterns
2 changes: 1 addition & 1 deletion zinnia/urls/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
url(_(r'^search/$'),
SearchEntries(),
name='entry_search_feed'),
url(_(r'^tags/(?P<tag>[^/]+(?u))/$'),
url(_(r'^tags/(?P<tag>[^/]+)/$'),
TagEntries(),
name='tag_feed'),
url(_(r'^authors/(?P<username>[.+-@\w]+)/$'),
Expand Down
4 changes: 2 additions & 2 deletions zinnia/urls/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
url(r'^$',
TagList.as_view(),
name='tag_list'),
url(r'^(?P<tag>[^/]+(?u))/$',
url(r'^(?P<tag>[^/]+)/$',
TagDetail.as_view(),
name='tag_detail'),
url(_(r'^(?P<tag>[^/]+(?u))/page/(?P<page>\d+)/$'),
url(_(r'^(?P<tag>[^/]+)/page/(?P<page>\d+)/$'),
TagDetail.as_view(),
name='tag_detail_paginated'),
]

0 comments on commit 881101a

Please sign in to comment.