Test up to Django 3.0. Drop Python 3-3.4.
[django-pagination.git] / fnp_django_pagination / middleware.py
index bb33c4a..4036511 100644 (file)
@@ -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.