app/soc/models/presence.py
changeset 805 6aaf4c33db0b
parent 534 c31cfbf1a20f
child 936 b3e1e0c9649c
--- 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.')
+