app/soc/models/user.py
changeset 1157 76e2ed09661c
parent 1076 063194eaf87b
child 1307 091a21cf3627
--- a/app/soc/models/user.py	Sun Feb 01 16:18:04 2009 +0000
+++ b/app/soc/models/user.py	Sun Feb 01 17:14:42 2009 +0000
@@ -107,3 +107,11 @@
   agreed_to_tos_on.help_text = ugettext(
       'Indicates when the user agreed to the site-wide Terms of Service.')
 
+  #: field storing the status of this User.
+  #: valid: Is just that, it's a valid User.
+  #: invalid: This means that this User has been excluded from using the website.
+  status = db.StringProperty(required=True, default='valid',
+      choices=['valid', 'invalid'],)
+  status.help_text = ugettext(
+      'Indicates the status of the User. Invalid means that this account '
+      'has been excluded from using the website.')