app/soc/models/user.py
changeset 549 00a9ce3dc082
parent 546 850d9a5ad894
child 811 9e56019eb218
equal deleted inserted replaced
548:2ceb3b14349c 549:00a9ce3dc082
    79   #: alias.  Public names can be any valid UTF-8 text.
    79   #: alias.  Public names can be any valid UTF-8 text.
    80   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   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.')
    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'
       
    87       ' ownership, and the like.  Please do not use your real name if you'
       
    88       ' are a minor (not an adult) where you live.')
       
    89       
    85       
    90   #: field storing whether User is a Developer with site-wide access.
    86   #: field storing whether User is a Developer with site-wide access.
    91   is_developer = db.BooleanProperty(
    87   is_developer = db.BooleanProperty(
    92       verbose_name=ugettext_lazy('Is Developer'))
    88       verbose_name=ugettext_lazy('Is Developer'))
    93   is_developer.help_text = ugettext_lazy(
    89   is_developer.help_text = ugettext_lazy(
    94       'Field used to indicate user with site-wide "Developer" access.')
    90       'Field used to indicate user with site-wide Developer access.')
    95 
    91