diff options
author | luxagraf <sng@luxagraf.net> | 2018-02-06 10:36:26 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-02-06 10:36:26 -0600 |
commit | 58473dd4e0758894f15f834bddedd0caf11cfa59 (patch) | |
tree | 6f4d4fb9e120813bcbaaf03044fdb84eb7764c41 /app/utils | |
parent | adcd4671a261aa72d459b691aabb6f2eef2a0cb7 (diff) |
converted to new path url structure and updated pagination to handle it.
Diffstat (limited to 'app/utils')
-rw-r--r-- | app/utils/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/utils/views.py b/app/utils/views.py index 6ebf44d..49b701b 100644 --- a/app/utils/views.py +++ b/app/utils/views.py @@ -22,6 +22,7 @@ class PaginatedListView(ListView): request.page_url = request.path + '%d/' print(request.page_url) request.page = int(self.kwargs['page']) + request.base_path = path return super(PaginatedListView, self).dispatch(request, *args, **kwargs) |