Formatting
This commit is contained in:
parent
f0a936f15e
commit
b1335d2811
2 changed files with 2 additions and 4 deletions
|
@ -175,7 +175,7 @@ class Curate(View):
|
|||
@require_POST
|
||||
def add_book(request):
|
||||
""" put a book on a list """
|
||||
book_list = get_object_or_404(models.List, id=request.POST.get('list'))
|
||||
book_list = get_object_or_404(models.List, id=request.POST.get("list"))
|
||||
if not object_visible_to_user(request.user, book_list):
|
||||
return HttpResponseNotFound()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue