fnp
/
django-pagination.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test up to Django 3.2.
[django-pagination.git]
/
fnp_django_pagination
/
middleware.py
diff --git
a/fnp_django_pagination/middleware.py
b/fnp_django_pagination/middleware.py
index
bb33c4a
..
4036511
100644
(file)
--- a/
fnp_django_pagination/middleware.py
+++ b/
fnp_django_pagination/middleware.py
@@
-35,7
+35,7
@@
except ImportError:
MiddlewareMixin = object
-def get_page(self, suffix):
+def get_page(self, suffix
=''
):
"""
A function which will be monkeypatched onto the request to get the current
integer representing the current page.