app/soc/models/org_app.py
changeset 1403 7ffce7c14da6
parent 1307 091a21cf3627
child 1404 3baec5ce9911
equal deleted inserted replaced
1402:e699ea116b32 1403:7ffce7c14da6
    23 
    23 
    24 from google.appengine.ext import db
    24 from google.appengine.ext import db
    25 
    25 
    26 from django.utils.translation import ugettext
    26 from django.utils.translation import ugettext
    27 
    27 
       
    28 from soc.models import licenses
       
    29 
    28 import soc.models.document
    30 import soc.models.document
    29 import soc.models.group_app
    31 import soc.models.group_app
    30 import soc.models.user
    32 import soc.models.user
    31 
    33 
    32 
    34 
    47 
    49 
    48   prior_application = db.TextProperty(required=False, verbose_name=ugettext(
    50   prior_application = db.TextProperty(required=False, verbose_name=ugettext(
    49       'If your group has not previously participated, have you applied in'
    51       'If your group has not previously participated, have you applied in'
    50       ' the past?  If so, for what sort of participation?'))
    52       ' the past?  If so, for what sort of participation?'))
    51   
    53   
    52   license_name = db.StringProperty(required=True, verbose_name=ugettext(
    54   license_name = db.StringProperty(required=True, choices=licenses.LICENSES,
    53       'What license does your organization use?'))
    55       verbose_name=ugettext('What license does your organization use?'))
    54  
    56  
    55   ideas = db.LinkProperty(required=True, verbose_name=ugettext(
    57   ideas = db.LinkProperty(required=True, verbose_name=ugettext(
    56       'What is the URL to the ideas list of your organization?'))
    58       'What is the URL to the ideas list of your organization?'))
    57   ideas.help_text = ugettext('For instance a link to a Melange public '
    59   ideas.help_text = ugettext('For instance a link to a Melange public '
    58       'document or some other URL')
    60       'document or some other URL')