app/soc/views/models/group.py
changeset 1283 438dceed3132
parent 1218 569a3fe9cb88
child 1307 091a21cf3627
equal deleted inserted replaced
1282:005be2cf889d 1283:438dceed3132
   360       index += 1
   360       index += 1
   361 
   361 
   362     # call the _list method from base.View to show the list
   362     # call the _list method from base.View to show the list
   363     return self._list(request, params, contents, page_name)
   363     return self._list(request, params, contents, page_name)
   364 
   364 
   365 
       
   366   def registerRole(self, role_name, role_view):
   365   def registerRole(self, role_name, role_view):
   367     """Adds a role to the role_views param.
   366     """Adds a role to the role_views param.
   368     
   367     
   369     Args:
   368     Args:
   370       role_name: The name of the role that needs to be added
   369       role_name: The name of the role that needs to be added