app/soc/models/work.py
changeset 545 217921e76f50
parent 533 ba3309b2fd30
child 584 ba8a624506e5
equal deleted inserted replaced
544:10f9da7e0d17 545:217921e76f50
    89   is_featured = db.BooleanProperty(
    89   is_featured = db.BooleanProperty(
    90       verbose_name=ugettext_lazy('Is Featured'))
    90       verbose_name=ugettext_lazy('Is Featured'))
    91   is_featured.help_text = ugettext_lazy(
    91   is_featured.help_text = ugettext_lazy(
    92       'Field used to indicate if a Work should be featured, for example,'
    92       'Field used to indicate if a Work should be featured, for example,'
    93       ' in the sidebar menu.')
    93       ' in the sidebar menu.')
       
    94 
       
    95   def name(self):
       
    96     """Alias 'title' Property as 'name' for use in common templates.
       
    97     """
       
    98     return self.title
       
    99