Stores book identifiers with path part
This commit is contained in:
parent
b1ea495d17
commit
46e38366c7
8 changed files with 48 additions and 46 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue