Shelve books from anywhere you see a book

This commit is contained in:
Mouse Reeve
2020-02-21 16:26:52 -08:00
parent 6c629be667
commit 78336531c9
7 changed files with 32 additions and 21 deletions

View File

@ -56,10 +56,7 @@ urlpatterns = [
re_path(r'^untag/?$', views.untag),
re_path(r'^comment/?$', views.comment),
re_path(r'^favorite/(?P<status_id>\d+)/?$', views.favorite),
re_path(
r'^shelve/(?P<username>\w+)/(?P<shelf_id>[\w-]+)/(?P<book_id>\d+)/?$',
views.shelve
),
re_path(r'^shelve/?$', views.shelve),
re_path(r'^follow/(?P<username>[\w@\.-]+)/?$', views.follow),
re_path(r'^unfollow/(?P<username>[\w@\.-]+)/?$', views.unfollow),
re_path(r'^search/?$', views.search),