89 is_developer = db.BooleanProperty(default=False, |
89 is_developer = db.BooleanProperty(default=False, |
90 verbose_name=ugettext('Is Developer')) |
90 verbose_name=ugettext('Is Developer')) |
91 is_developer.help_text = ugettext( |
91 is_developer.help_text = ugettext( |
92 'Field used to indicate user with site-wide Developer access.') |
92 'Field used to indicate user with site-wide Developer access.') |
93 |
93 |
94 #: field storing whether User has agreed to the site-wide Terms of Service. |
94 #: field storing wheter the User has agreed to the site-wide Terms of Service. |
95 #: (Not a required field because the Terms of Service might not be present |
95 #: (Not a required field because the Terms of Service might not be present |
96 #: when the first User profile is created when bootstrapping the site.) |
96 #: when the first User profile is created when bootstrapping the site.) |
97 agrees_to_tos = db.BooleanProperty( |
97 agreed_to_tos = db.BooleanProperty(required=False, default=False, |
98 verbose_name=ugettext('I agree to the Terms Of Service')) |
98 verbose_name=ugettext('I Agree to the Terms of Service')) |
99 agrees_to_tos.help_text = ugettext( |
99 agreed_to_tos.help_text = ugettext( |
100 'Indicates that the user agrees to the site-wide Terms of Service.') |
100 'Indicates whether the user agreed to the site-wide Terms of Service.') |
101 |
101 |
|
102 #: field storing when the User has agreed to the site-wide Terms of Service. |
|
103 #: (Not a required field because the Terms of Service might not be present |
|
104 #: when the first User profile is created when bootstrapping the site.) |
|
105 agreed_to_tos_on = db.DateTimeProperty(required=False, default=None, |
|
106 verbose_name=ugettext('Has agreed to the Terms of Service on')) |
|
107 agreed_to_tos_on.help_text = ugettext( |
|
108 'Indicates when the user agreed to the site-wide Terms of Service.') |
|
109 |