mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 13:16:33 +00:00
Fixes incorrect method comment
This commit is contained in:
parent
6a2f962f8d
commit
d86ffc47a7
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def shelve(request):
|
|||
@login_required
|
||||
@require_POST
|
||||
def unshelve(request):
|
||||
"""put a on a user's shelf"""
|
||||
"""remove a book from a user's shelf"""
|
||||
book = get_object_or_404(models.Edition, id=request.POST.get("book"))
|
||||
shelf_book = get_object_or_404(
|
||||
models.ShelfBook, book=book, shelf__id=request.POST["shelf"]
|
||||
|
|
Loading…
Reference in a new issue