app/soc/logic/models/student.py
changeset 2664 06d4f4d06f64
parent 1955 06ed84dbb1ed
child 2673 cecb3a669527
--- a/app/soc/logic/models/student.py	Sat Jul 18 15:04:44 2009 -0700
+++ b/app/soc/logic/models/student.py	Thu Jul 23 14:36:45 2009 +0200
@@ -35,12 +35,12 @@
 
   def __init__(self, model=soc.models.student.Student,
                base_model=soc.models.role.Role, scope_logic=program_logic,
-               disallow_last_resign=False):
+               role_name='student', disallow_last_resign=False):
     """Defines the name, key_name and model for this entity.
     """
 
-    super(Logic, self).__init__(model=model, base_model=base_model,
-                                scope_logic=scope_logic,
+    super(Logic, self).__init__(role_name=role_name, model=model,
+                                base_model=base_model, scope_logic=scope_logic,
                                 disallow_last_resign=disallow_last_resign)