app/soc/models/group_app.py
changeset 1232 3bce6205e24e
parent 1229 ec3768cbf369
child 1248 f318538394d9
equal deleted inserted replaced
1231:ab19a8ad375f 1232:3bce6205e24e
    97   member_criteria.help_text = ugettext(
    97   member_criteria.help_text = ugettext(
    98     'Members include mentors, admininstrators, and the like.')
    98     'Members include mentors, admininstrators, and the like.')
    99 
    99 
   100   # property containing the status of the application
   100   # property containing the status of the application
   101   # completed means that the application has been processed into a real group
   101   # completed means that the application has been processed into a real group
       
   102   # pre-accepted is used to indicate that the application has been accepted
       
   103   # but the group cannot be made yet.
   102   status = db.StringProperty(required=True, 
   104   status = db.StringProperty(required=True, 
   103       choices=['accepted','rejected','ignored','needs review','completed'],
   105       choices=['accepted','rejected','ignored','needs review','completed',
       
   106           'pre-accepted'],
   104       default='needs review',
   107       default='needs review',
   105       verbose_name=ugettext('Application Status'))
   108       verbose_name=ugettext('Application Status'))
   106 
   109 
   107   # timestamp to record the time on which this application has been created
   110   # timestamp to record the time on which this application has been created
   108   created_on = db.DateTimeProperty(required=True, auto_now_add=True,
   111   created_on = db.DateTimeProperty(required=True, auto_now_add=True,