app/soc/views/site/user/list.py
changeset 299 a1cc853a56e5
parent 294 1fdaab4a6ef2
child 303 4f1bb54ddae5
--- a/app/soc/views/site/user/list.py	Sun Oct 12 00:08:54 2008 +0000
+++ b/app/soc/views/site/user/list.py	Sun Oct 12 00:12:53 2008 +0000
@@ -22,6 +22,7 @@
   ]
 
 
+import soc.logic
 from soc.logic.helper import access
 from soc.logic.site import id_user
 from soc.views import simple
@@ -59,7 +60,7 @@
       offset=request.GET.get('offset'), limit=request.GET.get('limit'))
 
   # Fetch one more to see if there should be a 'next' link
-  users = id_user.getUsersForLimitAndOffset(limit + 1, offset=offset)
+  users = soc.logic.user_logic.getForLimitAndOffset(limit + 1, offset=offset)
 
   context['pagination_form'] = helper.lists.makePaginationForm(request, limit)