app/soc/logic/models/club_admin.py
changeset 1955 06ed84dbb1ed
parent 1307 091a21cf3627
child 2664 06d4f4d06f64
--- a/app/soc/logic/models/club_admin.py	Fri Mar 20 16:54:01 2009 +0000
+++ b/app/soc/logic/models/club_admin.py	Fri Mar 20 18:53:37 2009 +0000
@@ -35,12 +35,14 @@
   """
 
   def __init__(self, model=soc.models.club_admin.ClubAdmin,
-               base_model=soc.models.role.Role, scope_logic=club_logic):
+               base_model=soc.models.role.Role, scope_logic=club_logic,
+               disallow_last_resign=True):
     """Defines the name, key_name and model for this entity.
     """
 
     super(Logic, self).__init__(model=model, base_model=base_model,
-                                scope_logic=scope_logic)
+                                scope_logic=scope_logic,
+                                disallow_last_resign=disallow_last_resign)
 
   def _onCreate(self, entity):
     """Marks the Club for this Club Admin as active it's status is new.