app/soc/models/user.py
changeset 1650 51b5bc38522c
parent 1308 35b75ffcbb37
child 2345 f78caf12f32d
equal deleted inserted replaced
1649:495171ad94c0 1650:51b5bc38522c
   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.
   110   #: field storing the status of this User.
   111   #: valid: Is just that, it's a valid 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.
   112   #: invalid: This means that this User has been excluded 
       
   113   #:          from using the website.
   113   status = db.StringProperty(required=True, default='valid',
   114   status = db.StringProperty(required=True, default='valid',
   114       choices=['valid', 'invalid'],)
   115       choices=['valid', 'invalid'],)
   115   status.help_text = ugettext(
   116   status.help_text = ugettext(
   116       'Indicates the status of the User. Invalid means that this account '
   117       'Indicates the status of the User. Invalid means that this account '
   117       'has been excluded from using the website.')
   118       'has been excluded from using the website.')