app/soc/models/request.py
changeset 1085 0afbdd0905ef
parent 970 8b5611d5b053
child 1307 091a21cf3627
equal deleted inserted replaced
1084:9c4221f7b747 1085:0afbdd0905ef
    40 
    40 
    41   role_verbose = db.StringProperty(required=True)
    41   role_verbose = db.StringProperty(required=True)
    42   role_verbose.help_text = ugettext(
    42   role_verbose.help_text = ugettext(
    43       'This should be the verbose name of the role that is in this request')
    43       'This should be the verbose name of the role that is in this request')
    44 
    44 
    45   # property that determines the state of the request
    45   # property that determines the status of the request
    46   # new : new Request
    46   # new : new Request
    47   # group_accepted : The group has accepted this request
    47   # group_accepted : The group has accepted this request
    48   # completed : This request has been handled either following a creation of
    48   # completed : This request has been handled either following a creation of
    49   #             the role entity
    49   #             the role entity
    50   # rejected : This request has been rejected by either the user or the group
    50   # rejected : This request has been rejected by either the user or the group
    51   # ignored : The request has been ignored by the group and will not give
    51   # ignored : The request has been ignored by the group and will not give
    52   #           the user access to create the role
    52   #           the user access to create the role
    53   state = db.StringProperty(required=True, default='new',
    53   status = db.StringProperty(required=True, default='new',
    54       choices=['new', 'group_accepted', 'completed', 'rejected','ignored'])
    54       choices=['new', 'group_accepted', 'completed', 'rejected','ignored'])
    55   state.help_text = ugettext('Shows the state of the request')
    55   status.help_text = ugettext('Shows the status of the request')
    56 
    56 
    57 
    57