app/soc/views/site/sponsor/list.py
changeset 303 4f1bb54ddae5
parent 299 a1cc853a56e5
child 305 972d28056d9d
--- a/app/soc/views/site/sponsor/list.py	Sun Oct 12 08:46:05 2008 +0000
+++ b/app/soc/views/site/sponsor/list.py	Sun Oct 12 14:58:47 2008 +0000
@@ -22,11 +22,12 @@
   ]
 
 
-from soc.logic.helper import access
 from soc.views import simple
 from soc.views import helper
+from soc.views.helper import access
 import soc.views.helper.lists
 import soc.views.helper.responses
+import soc.views.out_of_band
 
 
 DEF_SITE_SPONSOR_LIST_ALL_TMPL = 'soc/group/list/all.html'
@@ -37,7 +38,7 @@
 
   try:
     access.checkIsDeveloper(request)
-  except  soc.logic.out_of_band.AccessViolationResponse, alt_response:
+  except  soc.views.out_of_band.AccessViolationResponse, alt_response:
     return alt_response.response()
 
   # create default template context for use with any templates