1
0
Fork 0

Differentiate friends/local/federated reviews

This commit is contained in:
Mouse Reeve 2020-02-23 14:26:03 -08:00
parent 20522cbd11
commit a46193a37b
12 changed files with 118 additions and 30 deletions

View file

@ -43,6 +43,7 @@ urlpatterns = [
re_path(r'%s/edit/?$' % user_path, views.edit_profile_page),
re_path(r'^user/edit/?$', views.edit_profile_page),
re_path(r'^book/(?P<book_identifier>\w+)/?$', views.book_page),
re_path(r'^book/(?P<book_identifier>\w+)/(?P<tab>friends|local|federated)?$', views.book_page),
re_path(r'^author/(?P<author_identifier>\w+)/?$', views.author_page),
re_path(r'^tag/(?P<tag_id>[\w-]+)/?$', views.tag_page),
re_path(r'^shelf/%s/(?P<shelf_identifier>[\w-]+)/?$' % username_regex, views.shelf_page),