OK rst2a is caching too long, so I have generated docs in docs/index.html
[django-pagination.git] / pagination / middleware.py
index 8a541fb..dd69377 100644 (file)
@@ -1,4 +1,8 @@
 class PaginationMiddleware(object):
+    """
+    Inserts a variable representing the current page onto the request object if
+    it exists in either **GET** or **POST** portions of the request.
+    """
     def process_request(self, request):
         try:
             request.page = int(request['page'])