Progress update flow for modal

This commit is contained in:
Mouse Reeve
2021-09-29 10:59:36 -07:00
parent 4dbb09be87
commit d78c278665
10 changed files with 35 additions and 9 deletions

View File

@ -370,6 +370,11 @@ urlpatterns = [
re_path(r"^create-readthrough/?$", views.create_readthrough),
re_path(r"^delete-progressupdate/?$", views.delete_progressupdate),
# shelve actions
re_path(
r"^reading-status/update/(?P<book_id>\d+)/?$",
views.update_progress,
name="reading-status-update",
),
re_path(
r"^reading-status/(?P<status>want|start|finish)/(?P<book_id>\d+)/?$",
views.ReadingStatus.as_view(),