app/soc/models/group.py
changeset 1085 0afbdd0905ef
parent 1060 eb6231138307
child 1307 091a21cf3627
equal deleted inserted replaced
1084:9c4221f7b747 1085:0afbdd0905ef
   164   #: Optional field containing address country or territory of the group.
   164   #: Optional field containing address country or territory of the group.
   165   shipping_country = db.StringProperty(required=False,
   165   shipping_country = db.StringProperty(required=False,
   166       verbose_name=ugettext('Shipping Country/Territory'),
   166       verbose_name=ugettext('Shipping Country/Territory'),
   167       choices=countries.COUNTRIES_AND_TERRITORIES)
   167       choices=countries.COUNTRIES_AND_TERRITORIES)
   168 
   168 
   169   #: Required property showing the current state of the group
   169   #: Required property showing the current status of the group
   170   #: new: the group has not been active yet
   170   #: new: the group has not been active yet
   171   #: active: the group is active
   171   #: active: the group is active
   172   #: inactive: used to mark a group as read-only
   172   #: inactive: used to mark a group as read-only
   173   #: invalid: the group has been marked as removed
   173   #: invalid: the group has been marked as removed
   174   state = db.StringProperty(required=True, default='new',
   174   status = db.StringProperty(required=True, default='new',
   175       choices=['new', 'active', 'inactive', 'invalid'])
   175       choices=['new', 'active', 'inactive', 'invalid'])
   176 
   176