# HG changeset patch # User Sverre Rabbelier # Date 1235077842 0 # Node ID 7ffce7c14da61e45d47202aaf6ad399de004f2b5 # Parent e699ea116b3203c52cea1a6c6a22af9e7da26856 Make org_app use the new licenses set Patch by: Sverre Rabbelier diff -r e699ea116b32 -r 7ffce7c14da6 app/soc/models/org_app.py --- a/app/soc/models/org_app.py Thu Feb 19 21:10:09 2009 +0000 +++ b/app/soc/models/org_app.py Thu Feb 19 21:10:42 2009 +0000 @@ -25,6 +25,8 @@ from django.utils.translation import ugettext +from soc.models import licenses + import soc.models.document import soc.models.group_app import soc.models.user @@ -49,8 +51,8 @@ 'If your group has not previously participated, have you applied in' ' the past? If so, for what sort of participation?')) - license_name = db.StringProperty(required=True, verbose_name=ugettext( - 'What license does your organization use?')) + license_name = db.StringProperty(required=True, choices=licenses.LICENSES, + verbose_name=ugettext('What license does your organization use?')) ideas = db.LinkProperty(required=True, verbose_name=ugettext( 'What is the URL to the ideas list of your organization?'))