mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-17 05:36:34 +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
|
@login_required
|
||||||
@require_POST
|
@require_POST
|
||||||
def unshelve(request):
|
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"))
|
book = get_object_or_404(models.Edition, id=request.POST.get("book"))
|
||||||
shelf_book = get_object_or_404(
|
shelf_book = get_object_or_404(
|
||||||
models.ShelfBook, book=book, shelf__id=request.POST["shelf"]
|
models.ShelfBook, book=book, shelf__id=request.POST["shelf"]
|
||||||
|
|
Loading…
Reference in a new issue