app/soc/models/group.py
changeset 385 6d410bf49a82
parent 363 d35ffa6ca643
child 402 021e86368600
equal deleted inserted replaced
384:45d6a1b492d6 385:6d410bf49a82
   112   #: Required field containing address postal code of the group (ZIP code in
   112   #: Required field containing address postal code of the group (ZIP code in
   113   #: the United States). Postal code can only be lower ASCII, not UTF-8 
   113   #: the United States). Postal code can only be lower ASCII, not UTF-8 
   114   #: text, because, if supplied, it is used as a shipping address.
   114   #: text, because, if supplied, it is used as a shipping address.
   115   postalcode = db.StringProperty(required=True,
   115   postalcode = db.StringProperty(required=True,
   116       verbose_name=ugettext_lazy('ZIP/Postal Code'))
   116       verbose_name=ugettext_lazy('ZIP/Postal Code'))
   117   postalcode.help_text=ugettext_lazy('lower ASCII characters only')
   117   postalcode.help_text = ugettext_lazy('lower ASCII characters only')
   118 
   118 
   119   #: Required contact phone number that will be, amongst other uses,
   119   #: Required contact phone number that will be, amongst other uses,
   120   #: supplied to shippers along with the shipping address; kept private.
   120   #: supplied to shippers along with the shipping address; kept private.
   121   phone = db.PhoneNumberProperty(required=True,
   121   phone = db.PhoneNumberProperty(required=True,
   122       verbose_name=ugettext_lazy('Phone Number'))
   122       verbose_name=ugettext_lazy('Phone Number'))