Added pre-rejected choice to GroupApplication.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 26 Feb 2009 08:38:09 +0000
changeset 1503 c8ebaacc2337
parent 1502 2fee94feef59
child 1504 f9d0bf275917
Added pre-rejected choice to GroupApplication. This will be used to bulk reject organizations. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
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'))