app/soc/models/user.py
changeset 1157 76e2ed09661c
parent 1076 063194eaf87b
child 1307 091a21cf3627
equal deleted inserted replaced
1156:40bccd791cf6 1157:76e2ed09661c
   105   agreed_to_tos_on = db.DateTimeProperty(required=False, default=None,
   105   agreed_to_tos_on = db.DateTimeProperty(required=False, default=None,
   106       verbose_name=ugettext('Has agreed to the Terms of Service on'))
   106       verbose_name=ugettext('Has agreed to the Terms of Service on'))
   107   agreed_to_tos_on.help_text = ugettext(
   107   agreed_to_tos_on.help_text = ugettext(
   108       'Indicates when the user agreed to the site-wide Terms of Service.')
   108       'Indicates when the user agreed to the site-wide Terms of Service.')
   109 
   109 
       
   110   #: field storing the status of this User.
       
   111   #: valid: Is just that, it's a valid User.
       
   112   #: invalid: This means that this User has been excluded from using the website.
       
   113   status = db.StringProperty(required=True, default='valid',
       
   114       choices=['valid', 'invalid'],)
       
   115   status.help_text = ugettext(
       
   116       'Indicates the status of the User. Invalid means that this account '
       
   117       'has been excluded from using the website.')