diff -r 384e55e48706 -r efce8ee13b19 app/soc/models/program.py
--- a/app/soc/models/program.py Thu Jan 22 22:54:46 2009 +0000
+++ b/app/soc/models/program.py Thu Jan 22 23:20:15 2009 +0000
@@ -67,13 +67,32 @@
' but in 2009!
'
'(rich text formatting is supported)')
+ #: Required field storing application/tasks limit of the program.
+ apps_tasks_limit = db.IntegerProperty(required=True,
+ verbose_name=ugettext_lazy('Application/Tasks Limit'))
+ apps_tasks_limit.example_text = ugettext_lazy(
+ 'e.g. '
+ '20 is the student applications limit for Google Summer '
+ 'of Code, but 1 is the tasks limit that the student can work '
+ 'on at the same time during GHOP')
+
+ #: Required field storing slots limit of the program.
+ slots = db.IntegerProperty(required=True,
+ verbose_name=ugettext_lazy('Slots'))
+ slots.example_text = ugettext_lazy(
+ 'e.g. '
+ '500 might be an amount of slots for Google Summer '
+ 'of Code, which indicates how many students can be accepted '
+ 'to the program.
For GHOP this indicates how '
+ 'many tasks can be completed.')
+
#: Required field storing the type of workflow this program has
workflow = db.StringProperty(required=True,
choices=['gsoc', 'ghop'],
verbose_name= ugettext_lazy('Workflow type'))
workflow.example_text = ugettext_lazy(
- 'Project-based for GSoC workflow type,
'
- ' Task-based for GHOP workflow type.')
+ 'Project-based for GSoC workflow type,
'
+ 'Task-based for GHOP workflow type.')
#: Required 1:1 relationship indicating the Program the Timeline
#: belongs to.