--- a/app/soc/views/site/user/list.py Sat Nov 15 03:12:33 2008 +0000
+++ b/app/soc/views/site/user/list.py Sat Nov 15 16:17:11 2008 +0000
@@ -37,7 +37,7 @@
DEF_SITE_USER_LIST_ALL_TMPL = 'soc/models/list.html'
@decorators.view
-def all(request, page=None, template=DEF_SITE_USER_LIST_ALL_TMPL):
+def all(request, page_name=None, template=DEF_SITE_USER_LIST_ALL_TMPL):
"""Show a list of all Users (limit rows per page).
Args:
@@ -59,7 +59,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'))