Stores book identifiers with path part

This commit is contained in:
Mouse Reeve
2020-02-10 21:09:04 -08:00
parent b1ea495d17
commit 46e38366c7
8 changed files with 48 additions and 46 deletions

View File

@ -28,7 +28,7 @@ urlpatterns = [
# this endpoint is both ui and fed depending on Accept type
re_path(r'^user/(?P<username>[\w@\.]+)/?$', views.user_profile),
re_path(r'^user/(?P<username>\w+)/edit/?$', views.user_profile_edit),
re_path(r'^work/(?P<book_identifier>\w+)/?$', views.book_page),
re_path(r'^book/(?P<book_identifier>\w+)/?$', views.book_page),
# internal action endpoints
re_path(r'^review/?$', views.review),