Run black on all files

This commit is contained in:
Jon Banafato
2019-11-17 16:59:14 -05:00
parent e5a634d805
commit 72403bd981
18 changed files with 170 additions and 150 deletions

View File

@@ -4,12 +4,12 @@ from .models import Books
def index(request):
return render(request, "index.html", {'Books': Books.objects.all()})
return render(request, "index.html", {"Books": Books.objects.all()})
def book_set(_set):
r = 20
x = _set*r
x = _set * r
y = x + r
books = Books.objects.all()[x:y]
return books