app/soc/logic/helper/request.py
changeset 945 54ee340ac14d
parent 928 df051fc9d7a1
child 955 b00251a6b9f9
equal deleted inserted replaced
944:5ea2bd9e3fa6 945:54ee340ac14d
    24 
    24 
    25 import soc.logic.models as model_logic
    25 import soc.logic.models as model_logic
    26 
    26 
    27 
    27 
    28 def completeRequestForRole(role_entity, role_name):
    28 def completeRequestForRole(role_entity, role_name):
    29   """Marks the request that leads to the given role_entity as completly accepted.
    29   """Marks the request that leads to the given role_entity as completed.
    30   
    30   
    31   Args:
    31   Args:
    32     role_entity : A datastore entity that is either a role or a subclass of the role model
    32     role_entity : A datastore entity that is either a role or a subclass of the role model
    33     role_name : The name in the request that is used to describe the type of the role_entity
    33     role_name : The name in the request that is used to describe the type of the role_entity
    34    
    34