app/soc/views/site/user/list.py
changeset 309 7190b224c701
parent 303 4f1bb54ddae5
child 316 9efdc7bc3565
--- a/app/soc/views/site/user/list.py	Sun Oct 12 18:11:20 2008 +0000
+++ b/app/soc/views/site/user/list.py	Sun Oct 12 18:30:37 2008 +0000
@@ -23,6 +23,7 @@
 
 
 import soc.logic
+from soc.logic import models
 from soc.logic.site import id_user
 import soc.models.user
 from soc.views import simple
@@ -61,7 +62,7 @@
       offset=request.GET.get('offset'), limit=request.GET.get('limit'))
 
   # Fetch one more to see if there should be a 'next' link
-  users = soc.logic.user_logic.getForLimitAndOffset(limit + 1, offset=offset)
+  users = models.user.logic.getForLimitAndOffset(limit + 1, offset=offset)
 
   context['pagination_form'] = helper.lists.makePaginationForm(request, limit)