app/soc/views/document/list.py
changeset 482 839740b061ad
parent 477 8a8b1bd035c4
child 500 44ea4620c5c0
--- a/app/soc/views/document/list.py	Sat Nov 15 03:12:33 2008 +0000
+++ b/app/soc/views/document/list.py	Sat Nov 15 16:17:11 2008 +0000
@@ -38,7 +38,7 @@
 
 
 @decorators.view
-def all(request, page=None, templates={}):
+def all(request, page_name=None, templates={}):
   """Show a list of all Documents (limit rows per page).
   
   Args:
@@ -60,7 +60,7 @@
 
   # create default template context for use with any templates
   context = helper.responses.getUniversalContext(request)
-  context['page'] = page
+  context['page_name'] = page_name
 
   offset, limit = helper.lists.cleanListParameters(
       offset=request.GET.get('offset'), limit=request.GET.get('limit'))