Index: main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py
===================================================================
--- main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py	(revision 18347)
+++ main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py	(revision 18348)
@@ -945,5 +945,5 @@
                 and self.context.student.fullname != 'anna-tester':
             self.flash('Course registration for the current academic session is not yet open. Please check back later.', type="warning")
-            self.redirect(view.url(view.context))
+            self.redirect(self.url(self.context))
             return
         super(CustomAddStudyLevelFormPage, self).update()
