# HG changeset patch # User Pawel Solyga # Date 1232467696 0 # Node ID b60c9ccbeaa581e04f92008feee0d931a37db606 # Parent 1b9604b95eeb74c1094c79e3081ed41bc872b174 Move member_template property from Group to Organization model since it's Organization specific property. Patch by: Pawel Solyga Review by: to-be-reviewed diff -r 1b9604b95eeb -r b60c9ccbeaa5 app/soc/models/group.py --- a/app/soc/models/group.py Tue Jan 20 16:03:55 2009 +0000 +++ b/app/soc/models/group.py Tue Jan 20 16:08:16 2009 +0000 @@ -121,11 +121,3 @@ phone.help_text = ugettext_lazy( 'include complete international calling number with country code') - member_template = db.ReferenceProperty( - reference_class=soc.models.document.Document, required=False, - collection_name='group_app_member_template', - verbose_name=ugettext_lazy('Application template ')) - member_template.help_text = ugettext_lazy( - 'This template will be presented to potential members when they' - ' apply to the group.') - diff -r 1b9604b95eeb -r b60c9ccbeaa5 app/soc/models/organization.py --- a/app/soc/models/organization.py Tue Jan 20 16:03:55 2009 +0000 +++ b/app/soc/models/organization.py Tue Jan 20 16:08:16 2009 +0000 @@ -46,4 +46,12 @@ verbose_name=ugettext_lazy('Development Mailing List')) dev_mailing_list.help_text = ugettext_lazy( 'Mailing list email address, URL to sign-up page, etc.') + + member_template = db.ReferenceProperty( + reference_class=soc.models.document.Document, required=False, + collection_name='group_app_member_template', + verbose_name=ugettext_lazy('Application template')) + member_template.help_text = ugettext_lazy( + 'This template will be presented to potential members when they' + ' apply to the group.')