ugh pylint

This commit is contained in:
Hugh Rundle 2021-11-01 12:01:57 +11:00
parent 1533b55a32
commit 55ac80cc16

View file

@ -33,7 +33,7 @@ class EditBook(View):
data = {"book": book, "form": forms.EditionForm(instance=book)} data = {"book": book, "form": forms.EditionForm(instance=book)}
return TemplateResponse(request, "book/edit/edit_book.html", data) return TemplateResponse(request, "book/edit/edit_book.html", data)
# pylint: disable=too-many-variables # pylint: disable=too-many-locals
def post(self, request, book_id=None): def post(self, request, book_id=None):
"""edit a book cool""" """edit a book cool"""
# returns None if no match is found # returns None if no match is found