app/soc/models/organization.py
changeset 1322 5153bd89147f
parent 1308 35b75ffcbb37
child 1408 2d91128c3685
equal deleted inserted replaced
1321:0e587b1d0c1d 1322:5153bd89147f
    38    reviewers)  a many:1 relationship associating Reviewers with
    38    reviewers)  a many:1 relationship associating Reviewers with
    39      a specific Organization. This relation is implemented as the
    39      a specific Organization. This relation is implemented as the
    40      'reviewers' back-reference Query of the Organization model 'org'
    40      'reviewers' back-reference Query of the Organization model 'org'
    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('Development Mailing List'))
    46     verbose_name=ugettext('Development Mailing List'))
    47   dev_mailing_list.help_text = ugettext(
    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('Application template'))
    53     verbose_name=ugettext('Application template'))
    54   member_template.help_text = ugettext(
    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 
       
    58   ideas = db.LinkProperty(required=False, verbose_name=ugettext('Idea list'))
       
    59   ideas.help_text = ugettext(
       
    60       'The URL to the ideas list of your organization.')
       
    61   ideas.example_text = ugettext('For instance a link to a Melange public '
       
    62       'document or some other URL')