94 verbose_name=ugettext_lazy( |
94 verbose_name=ugettext_lazy( |
95 'What criteria do you use to select the members of your group?' |
95 'What criteria do you use to select the members of your group?' |
96 ' Please be as specific as possible.')) |
96 ' Please be as specific as possible.')) |
97 member_criteria.help_text = ugettext_lazy( |
97 member_criteria.help_text = ugettext_lazy( |
98 'Members include mentors, admininstrators, and the like.') |
98 'Members include mentors, admininstrators, and the like.') |
99 |
99 |
100 # boolean to indicate if an application has been reviewed |
100 # property containing the status of the application |
101 reviewed = db.BooleanProperty(required=True, default=False, |
101 # completed means that the application has been processed into a real group |
102 verbose_name=ugettext_lazy('Has been reviewed') |
102 status = db.StringProperty(required=True, |
103 ) |
103 choices=['accepted','rejected','ignored','needs review','completed'], |
104 # boolean to indicate if an application has been accepted |
104 default='needs review', |
105 accepted = db.BooleanProperty(required=True, default=False, |
105 verbose_name=ugettext_lazy('Application Status')) |
106 verbose_name=ugettext_lazy('Has been accepted') |
106 |
107 ) |
|
108 |
|
109 # boolean to indicate that this application has been |
|
110 # handled and turned into a group |
|
111 application_completed = db.BooleanProperty(required=True, default=False, |
|
112 verbose_name=ugettext_lazy('Has been completed')) |
|
113 |
107 |
114 # timestamp to record the time on which this application has been created |
108 # timestamp to record the time on which this application has been created |
115 created_on = db.DateTimeProperty(required=True, auto_now_add=True, |
109 created_on = db.DateTimeProperty(required=True, auto_now_add=True, |
116 verbose_name=ugettext_lazy('Created on')) |
110 verbose_name=ugettext_lazy('Created on')) |
117 |
111 |