app/soc/models/user.py
changeset 481 94834a1e6c01
parent 339 b9be44e09530
child 512 aae25d2b4464
equal deleted inserted replaced
480:9b07ddeb1412 481:94834a1e6c01
    63 
    63 
    64   #: A Google Account, which also provides a "private" email address.
    64   #: A Google Account, which also provides a "private" email address.
    65   #: This email address is only used in an automated fashion by 
    65   #: This email address is only used in an automated fashion by 
    66   #: Melange web applications and is not made visible to other users 
    66   #: Melange web applications and is not made visible to other users 
    67   #: of any Melange application.
    67   #: of any Melange application.
    68   id = db.UserProperty(required=True,
    68   account = db.UserProperty(required=True,
    69       verbose_name=ugettext_lazy('User account'))
    69       verbose_name=ugettext_lazy('User account'))
    70   id.help_text = ugettext_lazy(
    70   account.help_text = ugettext_lazy(
    71       'Email address of a valid user (Google Account).')
    71       'A valid Google Account.')
    72 
    72 
    73   #: A list (possibly empty) of former Google Accounts associated with
    73   #: A list (possibly empty) of former Google Accounts associated with
    74   #: this User.
    74   #: this User.
    75   former_ids = db.ListProperty(users.User)
    75   former_accounts = db.ListProperty(users.User)
    76 
    76 
    77   #: Required field storing a nickname; displayed publicly.
    77   #: Required field storing a nickname; displayed publicly.
    78   #: Nicknames can be any valid UTF-8 text.
    78   #: Nicknames can be any valid UTF-8 text.
    79   nick_name = db.StringProperty(required=True,
    79   nick_name = db.StringProperty(required=True,
    80       verbose_name=ugettext_lazy('Nick name'))
    80       verbose_name=ugettext_lazy('Nick name'))