app/soc/models/org_app.py
changeset 936 b3e1e0c9649c
parent 795 8914adaa93a7
child 970 8b5611d5b053
equal deleted inserted replaced
935:09f47e08f805 936:b3e1e0c9649c
    71     required=False,  collection_name='backup_admin_app',
    71     required=False,  collection_name='backup_admin_app',
    72     verbose_name=ugettext_lazy(
    72     verbose_name=ugettext_lazy(
    73       'Please select your backup group administrator (if there is one).'
    73       'Please select your backup group administrator (if there is one).'
    74       ' They will be emailed to confirm, and this group will not be '
    74       ' They will be emailed to confirm, and this group will not be '
    75       ' accepted until they respond. (optional).'))
    75       ' accepted until they respond. (optional).'))
       
    76   backup_admin.redirect_url = soc.models.user.User.URL_NAME
    76 
    77 
    77   contrib_template = db.ReferenceProperty(
    78   contrib_template = db.ReferenceProperty(
    78     reference_class=soc.models.document.Document, required=False,
    79     reference_class=soc.models.document.Document, required=False,
    79     collection_name='org_app_contrib_template',
    80     collection_name='org_app_contrib_template',
    80     verbose_name=ugettext_lazy(
    81     verbose_name=ugettext_lazy(
    82       ' to your group to use.  (optional).'))
    83       ' to your group to use.  (optional).'))
    83   contrib_template.help_text = ugettext_lazy(
    84   contrib_template.help_text = ugettext_lazy(
    84     'This template will be presented to contributors, such as students'
    85     'This template will be presented to contributors, such as students'
    85     ' and other non-member participants, when they apply to contribute'
    86     ' and other non-member participants, when they apply to contribute'
    86     ' to the organization.')
    87     ' to the organization.')
       
    88   contrib_template.redirect_url = soc.models.document.Document.URL_NAME
    87 
    89 
    88   contrib_disappears = db.TextProperty(required=True,
    90   contrib_disappears = db.TextProperty(required=True,
    89     verbose_text=ugettext_lazy(
    91     verbose_text=ugettext_lazy(
    90       'What is your plan for dealing with disappearing contributors?'))
    92       'What is your plan for dealing with disappearing contributors?'))
    91   contrib_disappears.help_text = ugettext_lazy(
    93   contrib_disappears.help_text = ugettext_lazy(