app/soc/models/program.py
changeset 2784 801eee4eda9a
parent 2716 9921ac952f13
child 2787 8408741aee63
--- a/app/soc/models/program.py	Sat Aug 22 03:56:14 2009 +0530
+++ b/app/soc/models/program.py	Sat Aug 22 03:56:25 2009 +0530
@@ -77,7 +77,7 @@
       '<small><i>(rich text formatting is supported)</i></small>')
 
   #: Required field storing application/tasks limit of the program.
-  apps_tasks_limit = db.IntegerProperty(required=True,
+  apps_tasks_limit = db.IntegerProperty(required=True, default=20,
       verbose_name=ugettext('Application/Tasks Limit'))
   apps_tasks_limit.example_text = ugettext(
       '<small><i>e.g.</i></small> '
@@ -98,7 +98,7 @@
       'The amount of slots each organization should get at most')
 
   #: Required field storing slots limit of the program.
-  slots = db.IntegerProperty(required=True,
+  slots = db.IntegerProperty(required=True, default=0,
       verbose_name=ugettext('Slots'))
   slots.example_text = ugettext(
       '<small><i>e.g.</i></small> '