# HG changeset patch # User Sverre Rabbelier # Date 1236457672 0 # Node ID c5cfa7b3cdff72ba48a2ba57681b272716ae864d # Parent 0bda51fe91bf449ce6198842516596d365c42ac3 Have slots default to 0 Patch by: Sverre Rabbelier, "Mario Ferraro" diff -r 0bda51fe91bf -r c5cfa7b3cdff app/soc/models/organization.py --- 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.')