# HG changeset patch # User Lennard de Rijk # Date 1235637489 0 # Node ID c8ebaacc233753f8e5eb6f67a942ccf163244748 # Parent 2fee94feef59b349a29c314b060389bb5503d76b Added pre-rejected choice to GroupApplication. This will be used to bulk reject organizations. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 2fee94feef59 -r c8ebaacc2337 app/soc/models/group_app.py --- a/app/soc/models/group_app.py Thu Feb 26 04:29:56 2009 +0000 +++ b/app/soc/models/group_app.py Thu Feb 26 08:38:09 2009 +0000 @@ -99,11 +99,13 @@ # property containing the status of the application # completed means that the application has been processed into a real group - # pre-accepted is used to indicate that the application has been accepted + # pre-accepted: used to indicate that the application has been accepted # but the group cannot be made yet. - status = db.StringProperty(required=True, + # pre-rejected: used to indicate that the application has been rejected + # but the applicant has not been informed yet. + status = db.StringProperty(required=True, choices=['accepted','rejected','ignored','needs review','completed', - 'pre-accepted'], + 'pre-accepted', 'pre-rejected'], default='needs review', verbose_name=ugettext('Application Status'))