app/soc/models/role.py
changeset 841 9dac40accd06
parent 685 a440ced9a75f
child 842 ed494131f6e5
--- a/app/soc/models/role.py	Tue Jan 20 17:41:47 2009 +0000
+++ b/app/soc/models/role.py	Tue Jan 20 17:53:36 2009 +0000
@@ -75,6 +75,14 @@
   user = db.ReferenceProperty(reference_class=soc.models.user.User,
                               required=True, collection_name='roles')
 
+  #: field storing whether User has agreed to the Role-specific Terms of
+  #: Service. (Not a required field because some Roles may not have special
+  #: Terms of Service.)
+  agrees_to_tos = db.BooleanProperty(
+      verbose_name=ugettext_lazy('Agrees to ToS'))
+  agrees_to_tos.help_text = ugettext_lazy(
+      'Indicates that the user agrees to the Terms of Service for this Role.')
+
   #====================================================================
   #  (public) name information
   #====================================================================