summaryrefslogtreecommitdiff
path: root/app/utils
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-08 20:24:26 -0500
committerluxagraf <sng@luxagraf.net>2015-11-08 20:24:26 -0500
commit7e8fefe7f3c5aee31c4e7231e5fed21d34ed0cb6 (patch)
tree65eec2f77b579ad4127f8d7d9a799d9f3bcc6f4e /app/utils
parent76c0bf31bf4a21fcf18df8579dbb6f660c4d7437 (diff)
Updated books app to use new CBVs and urls, also brought everything up
to PEP 8 styles
Diffstat (limited to 'app/utils')
-rw-r--r--app/utils/views.py1
1 files changed, 1 insertions, 0 deletions
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)