修复tag分页url问题

develop
liangliangyy 7 years ago
parent da26b0264d
commit 478719ce22

@ -38,7 +38,7 @@ urlpatterns = [
name='author_detail_page'),
path(r'tag/<slug:tag_name>.html', views.TagDetailView.as_view(), name='tag_detail'),
path(r'tag/<slug:tag_name>/<int:page>).html', views.TagDetailView.as_view(), name='tag_detail_page'),
path(r'tag/<slug:tag_name>/<int:page>.html', views.TagDetailView.as_view(), name='tag_detail_page'),
path('archives.html', views.ArchivesView.as_view(), name='archives'),
path(r'upload', views.fileupload, name='upload'),
path(r'refresh', views.refresh_memcache, name='refresh')

Loading…
Cancel
Save