Add slots to the organization model
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 07 Mar 2009 00:32:15 +0000
changeset 1704 b581fdfd6bb1
parent 1703 6d6813e83756
child 1705 1dbce30b5757
Add slots to the organization model Patch by: Sverre Rabbelier
app/soc/models/organization.py
--- a/app/soc/models/organization.py	Sat Mar 07 00:31:48 2009 +0000
+++ b/app/soc/models/organization.py	Sat Mar 07 00:32:15 2009 +0000
@@ -51,3 +51,8 @@
       'The URL to the ideas list of your organization.')
   ideas.example_text = ugettext('For instance a link to a Melange public '
       'document or some other URL')
+
+  slots = db.IntegerProperty(required=False,
+      verbose_name=ugettext('Slots allocated'))
+  slots.help_text = ugettext(
+      'The amount of slots allocated to this organization.')