--- a/app/soc/views/site/docs/list.py Sun Oct 12 18:11:20 2008 +0000
+++ b/app/soc/views/site/docs/list.py Sun Oct 12 18:30:37 2008 +0000
@@ -23,6 +23,7 @@
import soc.logic
+from soc.logic import models
import soc.models.document
from soc.views import simple
from soc.views import helper
@@ -60,7 +61,7 @@
offset=request.GET.get('offset'), limit=request.GET.get('limit'))
# Fetch one more to see if there should be a 'next' link
- docs = soc.logic.work_logic.getForLimitAndOffset(limit + 1, offset=offset)
+ docs = models.work.logic.getForLimitAndOffset(limit + 1, offset=offset)
context['pagination_form'] = helper.lists.makePaginationForm(request, limit)