app/soc/models/role.py
changeset 845 255faade3e30
parent 842 ed494131f6e5
child 879 05082afd4b6e
--- a/app/soc/models/role.py	Tue Jan 20 20:04:21 2009 +0000
+++ b/app/soc/models/role.py	Tue Jan 20 20:16:07 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
   #====================================================================