mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 20:11:14 +00:00
remove out of date comment
This commit is contained in:
parent
b273123708
commit
4b6f5c9f51
1 changed files with 0 additions and 2 deletions
|
@ -162,8 +162,6 @@ def update_progress(request, book_id): # pylint: disable=unused-argument
|
||||||
@require_POST
|
@require_POST
|
||||||
def edit_readthrough(request):
|
def edit_readthrough(request):
|
||||||
"""can't use the form because the dates are too finnicky"""
|
"""can't use the form because the dates are too finnicky"""
|
||||||
# BUG when triggering finish reading with comments and no previous readthroughs
|
|
||||||
# this will 404
|
|
||||||
readthrough = get_object_or_404(models.ReadThrough, id=request.POST.get("id"))
|
readthrough = get_object_or_404(models.ReadThrough, id=request.POST.get("id"))
|
||||||
readthrough.raise_not_editable(request.user)
|
readthrough.raise_not_editable(request.user)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue