# HG changeset patch # User Todd Larsen # Date 1231970559 0 # Node ID 9e56019eb2180525b257a5661c865b0668e1cb21 # Parent 208659644a7f9909501df1b232b16e45b7d82d55 Add "agrees to site-wide Terms of Service" boolean property for all Users. Patch by: Todd Larsen Review by: to-be-reviewed diff -r 208659644a7f -r 9e56019eb218 app/soc/models/user.py --- a/app/soc/models/user.py Wed Jan 14 20:37:56 2009 +0000 +++ b/app/soc/models/user.py Wed Jan 14 22:02:39 2009 +0000 @@ -89,3 +89,11 @@ is_developer.help_text = ugettext_lazy( 'Field used to indicate user with site-wide Developer access.') + #: field storing whether User has agreed to the site-wide Terms of Service. + #: (Not a required field because the Terms of Service might not be present + #: when the first User profile is created when bootstrapping the site.) + 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 site-wide Terms of Service.') +