--- a/app/soc/models/program.py Tue Jan 06 17:26:06 2009 +0000
+++ b/app/soc/models/program.py Tue Jan 06 20:56:48 2009 +0000
@@ -58,6 +58,13 @@
description = db.TextProperty(required=True,
verbose_name=ugettext_lazy('Description'))
description.example_text = ugettext_lazy('This is the program for GSoC 2009')
+
+ #: Required field storing the type of workflow this program has
+ workflow = db.StringProperty(required=True,
+ choices=['gsoc', 'ghop'],
+ verbose_name= ugettext_lazy('Type of workflow'))
+ workflow.example_text = ugettext_lazy('Project-based for GSoC type workflow, '
+ 'task-based for GHOP type workflow')
#: Required 1:1 relationship indicating the Program the Timeline
#: belongs to.