Have slots default to 0
Patch by: Sverre Rabbelier, "Mario Ferraro" <fadinlight@gmail.com>
--- a/app/soc/models/organization.py Sat Mar 07 20:27:24 2009 +0000
+++ b/app/soc/models/organization.py Sat Mar 07 20:27:52 2009 +0000
@@ -52,7 +52,7 @@
ideas.example_text = ugettext('For instance a link to a Melange public '
'document or some other URL')
- slots = db.IntegerProperty(required=False,
+ slots = db.IntegerProperty(required=False, default=0,
verbose_name=ugettext('Slots allocated'))
slots.help_text = ugettext(
'The amount of slots allocated to this organization.')