app/soc/models/user.py
changeset 546 850d9a5ad894
parent 540 e14e9cf23097
child 549 00a9ce3dc082
equal deleted inserted replaced
545:217921e76f50 546:850d9a5ad894
    75   former_accounts = db.ListProperty(users.User)
    75   former_accounts = db.ListProperty(users.User)
    76 
    76 
    77   #: Required field storing publicly-displayed name.  Can be a real name
    77   #: Required field storing publicly-displayed name.  Can be a real name
    78   #: (though this is not recommended), or a nick name or some other public
    78   #: (though this is not recommended), or a nick name or some other public
    79   #: alias.  Public names can be any valid UTF-8 text.
    79   #: alias.  Public names can be any valid UTF-8 text.
    80   public_name = db.StringProperty(required=True,
    80   name = db.StringProperty(required=True,
    81       verbose_name=ugettext_lazy('Public name'))
    81       verbose_name=ugettext_lazy('Public name'))
    82   public_name.help_text = ugettext_lazy(
    82   name.help_text = ugettext_lazy(
    83       'Human-readable name (UTF-8) that will be displayed publicly on the'
    83       'Human-readable name (UTF-8) that will be displayed publicly on the'
    84       ' site. While you can use your real name, like "First Last", please'
    84       ' site. While you can use your real name, like "First Last", please'
    85       ' keep in mind that this "public name" will be used as your alias'
    85       ' keep in mind that this "public name" will be used as your alias'
    86       ' throughout the site, displayed to all users, for comments, document'
    86       ' throughout the site, displayed to all users, for comments, document'
    87       ' ownership, and the like.  Please do not use your real name if you'
    87       ' ownership, and the like.  Please do not use your real name if you'