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