app/soc/models/user.py
changeset 529 7c5ec72cdcf1
parent 512 aae25d2b4464
child 533 ba3309b2fd30
equal deleted inserted replaced
528:5e6ae12cc495 529:7c5ec72cdcf1
    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_accounts = 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 publicly-displayed name.  Can be a real name
    78   #: Nicknames can be any valid UTF-8 text.
    78   #: (though this is not recommended), or a nick name or some other public
    79   nick_name = db.StringProperty(required=True,
    79   #: alias.  Public names can be any valid UTF-8 text.
    80       verbose_name=ugettext_lazy('Nick name'))
    80   public_name = db.StringProperty(required=True,
       
    81       verbose_name=ugettext_lazy('Public name'))
    81       
    82       
    82   #: Required field storing link_id used in URLs to identify user.
    83   #: Required field storing link_id used in URLs to identify user.
    83   #: Lower ASCII characters only.
    84   #: Lower ASCII characters only.
    84   link_id = db.StringProperty(required=True,
    85   link_id = db.StringProperty(required=True,
    85       verbose_name=ugettext_lazy('Link ID'))
    86       verbose_name=ugettext_lazy('Link ID'))