From de7de3d3d53d594d7e184d4dccea16addc06fad9 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 10 Nov 2020 21:50:05 -0800 Subject: [PATCH] json view for tags page --- bookwyrm/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/urls.py b/bookwyrm/urls.py index 58eb5bd43..8fa3bc1b8 100644 --- a/bookwyrm/urls.py +++ b/bookwyrm/urls.py @@ -78,7 +78,7 @@ urlpatterns = [ re_path(r'%s/editions(.json)?/?$' % book_path, views.editions_page), re_path(r'^author/(?P[\w\-]+)(.json)?/?$', views.author_page), - # TODO: tag needs a .json path + re_path(r'^tag/(?P.+)\.json/?$', views.tag_page), re_path(r'^tag/(?P.+)/?$', views.tag_page), re_path(r'^%s/shelf/(?P[\w-]+)(.json)?/?$' % \ user_path, views.shelf_page),