app/soc/models/role.py
changeset 577 e7cb5819f7e9
parent 533 ba3309b2fd30
child 685 a440ced9a75f
equal deleted inserted replaced
576:6614d3f545b7 577:e7cb5819f7e9
   271 
   271 
   272   #: Optional field indicating choice of t-shirt fit; kept private.
   272   #: Optional field indicating choice of t-shirt fit; kept private.
   273   tshirt_style = db.StringProperty(
   273   tshirt_style = db.StringProperty(
   274       verbose_name=ugettext_lazy('T-shirt Style'),
   274       verbose_name=ugettext_lazy('T-shirt Style'),
   275       choices=('male', 'female'))
   275       choices=('male', 'female'))
       
   276 
       
   277   def name(self):
       
   278     """Alias 'display_name' Property as 'name' for use in common templates.
       
   279     """
       
   280     return self.display_name