app/soc/views/models/student.py
changeset 2186 eeb26c67cffa
parent 2158 2cbadb6efe9f
child 2239 9a47a64dcc08
--- a/app/soc/views/models/student.py	Wed Apr 15 15:56:17 2009 +0000
+++ b/app/soc/views/models/student.py	Wed Apr 15 16:05:29 2009 +0000
@@ -34,6 +34,7 @@
 from soc.views.helper import access
 from soc.views.helper import decorators
 from soc.views.helper import dynaform
+from soc.views.helper import responses
 from soc.views.helper import redirects
 from soc.views.helper import widgets
 from soc.views.models import program as program_view
@@ -174,7 +175,7 @@
     try:
       student_entity = student_logic.logic.getFromKeyFieldsOr404(fields)
     except out_of_band.Error, error:
-      return helper.responses.errorResponse(
+      return responses.errorResponse(
           error, request, template=params['error_public'])
 
     # set the fields we need for the Student Project list