Fixes incorrect method comment

This commit is contained in:
Mouse Reeve 2021-10-20 13:16:29 -07:00
parent 6a2f962f8d
commit d86ffc47a7

View file

@ -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"]