# HG changeset patch # User Todd Larsen # Date 1232482567 0 # Node ID 255faade3e30812b91e592dc9592f46e54b7fb7f # Parent b55c68d25b359468fdc05b0fe27dfd2cb4ab3b38 Add the agrees_to_tos property to Roles (as its own changeset this time...). Patch by: Todd Larsen Review by: to-be-reviewed diff -r b55c68d25b35 -r 255faade3e30 app/soc/models/role.py --- 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 #====================================================================