Activitypub serializable edition list

This commit is contained in:
Mouse Reeve
2020-11-04 12:55:00 -08:00
parent 441220a547
commit 53a358f2fd
5 changed files with 34 additions and 9 deletions

View File

@ -75,7 +75,7 @@ urlpatterns = [
# books
re_path(r'%s(.json)?/?$' % book_path, views.book_page),
re_path(r'%s/edit/?$' % book_path, views.edit_book_page),
re_path(r'^editions/(?P<work_id>\d+)/?$', 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),
# TODO: tag needs a .json path