# HG changeset patch # User Todd Larsen # Date 1231963505 0 # Node ID 6aaf4c33db0b23d4f70de9287b79f183742b39c3 # Parent 13fcbd8598a44ae4278cd312c7aefca6caab926a Add a ReferenceProperty pointing to a Terms of Service Document. Patch by: Todd Larsen Review by: to-be-reviewed diff -r 13fcbd8598a4 -r 6aaf4c33db0b app/soc/models/presence.py --- a/app/soc/models/presence.py Sat Jan 10 19:11:34 2009 +0000 +++ b/app/soc/models/presence.py Wed Jan 14 20:05:05 2009 +0000 @@ -56,3 +56,12 @@ feed_url.help_text = ugettext_lazy( 'The URL should be a valid ATOM or RSS feed. ' 'Feed entries are shown on the home page.') + + #: Reference to Document containing optional Terms of Service + tos = db.ReferenceProperty( + reference_class=soc.models.document.Document, + verbose_name=ugettext_lazy('Terms of Service'), + collection_name='tos') + tos.help_text = ugettext_lazy( + 'Document containing optional Terms of Service for participating.') +