Added an agreed_to_admin_agreement property
authorSverre Rabbelier <srabbelier@gmail.com>
Wed, 11 Feb 2009 23:54:41 +0000
changeset 1272 c17e47db4875
parent 1271 3bd4a3b527d7
child 1273 324a1ecc4e88
Added an agreed_to_admin_agreement property Patch by: Sverre Rabbelier
app/soc/models/org_app.py
--- a/app/soc/models/org_app.py	Wed Feb 11 23:52:11 2009 +0000
+++ b/app/soc/models/org_app.py	Wed Feb 11 23:54:41 2009 +0000
@@ -91,3 +91,11 @@
       'What will you do to ensure that your accepted contributors stick'
       ' with the project after the program concludes?'))
   continued_contribs.help_text = contrib_disappears.help_text
+
+  #: field storing whether the 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.)
+  agreed_to_admin_agreement = db.BooleanProperty(required=False, default=False,
+      verbose_name=ugettext('I Agree to the Admin Agreement'))
+  agreed_to_admin_agreement.help_text = ugettext(
+      'Indicates whether the user agreed to the Admin Agreement.')