mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
json view for tags page
This commit is contained in:
parent
c3d2018411
commit
de7de3d3d5
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ urlpatterns = [
|
||||||
re_path(r'%s/editions(.json)?/?$' % book_path, views.editions_page),
|
re_path(r'%s/editions(.json)?/?$' % book_path, views.editions_page),
|
||||||
|
|
||||||
re_path(r'^author/(?P<author_id>[\w\-]+)(.json)?/?$', views.author_page),
|
re_path(r'^author/(?P<author_id>[\w\-]+)(.json)?/?$', views.author_page),
|
||||||
# TODO: tag needs a .json path
|
re_path(r'^tag/(?P<tag_id>.+)\.json/?$', views.tag_page),
|
||||||
re_path(r'^tag/(?P<tag_id>.+)/?$', views.tag_page),
|
re_path(r'^tag/(?P<tag_id>.+)/?$', views.tag_page),
|
||||||
re_path(r'^%s/shelf/(?P<shelf_identifier>[\w-]+)(.json)?/?$' % \
|
re_path(r'^%s/shelf/(?P<shelf_identifier>[\w-]+)(.json)?/?$' % \
|
||||||
user_path, views.shelf_page),
|
user_path, views.shelf_page),
|
||||||
|
|
Loading…
Reference in a new issue