Want to read view

This commit is contained in:
Mouse Reeve
2021-06-08 11:23:53 -07:00
parent 45146b4999
commit 1231d40e80
9 changed files with 72 additions and 20 deletions

View File

@ -178,11 +178,6 @@ def shelve(request):
models.ShelfBook.objects.create(
book=book, shelf=desired_shelf, user=request.user
)
if desired_shelf.identifier == models.Shelf.TO_READ and request.POST.get(
"post-status"
):
privacy = request.POST.get("privacy") or desired_shelf.privacy
handle_reading_status(request.user, desired_shelf, book, privacy=privacy)
else:
try:
models.ShelfBook.objects.create(