app/soc/views/models/mentor.py
changeset 2177 e2c193e1f631
parent 2133 7f77e0be852e
child 2667 260aaea36e49
--- a/app/soc/views/models/mentor.py	Mon Apr 13 15:30:48 2009 +0000
+++ b/app/soc/views/models/mentor.py	Mon Apr 13 15:31:39 2009 +0000
@@ -117,7 +117,7 @@
     super(View, self).__init__(params=params)
 
     # register the role with the group_view
-    params['group_view'].registerRole(params['module_name'], self)
+    self._params['group_view'].registerRole(self._params['module_name'], self)
 
     # create and store the special form for invited users
     dynafields = [
@@ -140,7 +140,7 @@
         dynaform=self._params['create_form'],
         dynaproperties=dynaproperties)
 
-    params['invited_create_form'] = invited_create_form
+    self._params['invited_create_form'] = invited_create_form
 
   def _editPost(self, request, entity, fields):
     """See base.View._editPost().