Skip to content

Commit 478719c

Browse files
committed
修复tag分页url问题
1 parent da26b02 commit 478719c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
name='author_detail_page'),
3939

4040
path(r'tag/<slug:tag_name>.html', views.TagDetailView.as_view(), name='tag_detail'),
41-
path(r'tag/<slug:tag_name>/<int:page>).html', views.TagDetailView.as_view(), name='tag_detail_page'),
41+
path(r'tag/<slug:tag_name>/<int:page>.html', views.TagDetailView.as_view(), name='tag_detail_page'),
4242
path('archives.html', views.ArchivesView.as_view(), name='archives'),
4343
path(r'upload', views.fileupload, name='upload'),
4444
path(r'refresh', views.refresh_memcache, name='refresh')

0 commit comments

Comments
 (0)