From 7e8fefe7f3c5aee31c4e7231e5fed21d34ed0cb6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 8 Nov 2015 20:24:26 -0500 Subject: Updated books app to use new CBVs and urls, also brought everything up to PEP 8 styles --- app/utils/views.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app/utils') diff --git a/app/utils/views.py b/app/utils/views.py index 910f9b3..f28a8cd 100644 --- a/app/utils/views.py +++ b/app/utils/views.py @@ -14,5 +14,6 @@ class PaginatedListView(ListView): request.page_url = "/" + path + '/%d/' else: request.page_url = request.path + '%d/' + print(request.page_url) request.page = int(self.kwargs['page']) return super(PaginatedListView, self).dispatch(request, *args, **kwargs) -- cgit v1.2.3