app/soc/models/person.py
changeset 78 206e6eeed6c4
parent 54 03e267d67478
child 181 fdd29818a954
equal deleted inserted replaced
77:778b5f9d6e7c 78:206e6eeed6c4
    82   #: used, for example, as part of the shipping (mailing) address.
    82   #: used, for example, as part of the shipping (mailing) address.
    83   surname = db.StringProperty(
    83   surname = db.StringProperty(
    84       required=True,
    84       required=True,
    85       verbose_name=ugettext_lazy('Last (family) name'))
    85       verbose_name=ugettext_lazy('Last (family) name'))
    86   surname.help_text = ugettext_lazy('lower ASCII characters only')
    86   surname.help_text = ugettext_lazy('lower ASCII characters only')
    87 
       
    88   #: Optional field storing a nickname; displayed publicly.
       
    89   #: Nicknames can be any valid UTF-8 text.
       
    90   nickname = db.StringProperty(
       
    91       verbose_name=ugettext_lazy('Nick name'))
       
    92 
    87 
    93   #: Optional field used as a display name, such as for awards
    88   #: Optional field used as a display name, such as for awards
    94   #: certificates. Should be the entire display name in the format
    89   #: certificates. Should be the entire display name in the format
    95   #: the Person would like it displayed (could be surname followed by
    90   #: the Person would like it displayed (could be surname followed by
    96   #: given name in some cultures, for example). Display names can be
    91   #: given name in some cultures, for example). Display names can be