app/soc/models/organization.py
changeset 970 8b5611d5b053
parent 883 1e0af43577ee
child 1307 091a21cf3627
equal deleted inserted replaced
969:b12de918d660 970:8b5611d5b053
    22 ]
    22 ]
    23 
    23 
    24 
    24 
    25 from google.appengine.ext import db
    25 from google.appengine.ext import db
    26 
    26 
    27 from django.utils.translation import ugettext_lazy
    27 from django.utils.translation import ugettext
    28 
    28 
    29 import soc.models.group
    29 import soc.models.group
    30 
    30 
    31 
    31 
    32 class Organization(soc.models.group.Group):
    32 class Organization(soc.models.group.Group):
    41      reference.
    41      reference.
    42   """
    42   """
    43   
    43   
    44   #: Optional development mailing list.     
    44   #: Optional development mailing list.     
    45   dev_mailing_list = db.StringProperty(required=False,
    45   dev_mailing_list = db.StringProperty(required=False,
    46     verbose_name=ugettext_lazy('Development Mailing List'))
    46     verbose_name=ugettext('Development Mailing List'))
    47   dev_mailing_list.help_text = ugettext_lazy(
    47   dev_mailing_list.help_text = ugettext(
    48     'Mailing list email address, URL to sign-up page, etc.')
    48     'Mailing list email address, URL to sign-up page, etc.')
    49     
    49     
    50   member_template = db.ReferenceProperty(
    50   member_template = db.ReferenceProperty(
    51     reference_class=soc.models.document.Document, required=False,
    51     reference_class=soc.models.document.Document, required=False,
    52     collection_name='org_app_member_template',
    52     collection_name='org_app_member_template',
    53     verbose_name=ugettext_lazy('Application template'))
    53     verbose_name=ugettext('Application template'))
    54   member_template.help_text = ugettext_lazy(
    54   member_template.help_text = ugettext(
    55     'This template will be presented to potential members when they'
    55     'This template will be presented to potential members when they'
    56     ' apply to the organization.')
    56     ' apply to the organization.')
    57 
    57