app/soc/models/club.py
changeset 745 ed3b545a9c14
parent 385 6d410bf49a82
child 748 f00e6b3af5a6
equal deleted inserted replaced
744:cd9bf163473c 745:ed3b545a9c14
    36 
    36 
    37    members)  a 1:many relationship of Members belonging to a Club.  This
    37    members)  a 1:many relationship of Members belonging to a Club.  This
    38      relation is implemented as the 'members' back-reference Query of the
    38      relation is implemented as the 'members' back-reference Query of the
    39      Member model 'club' reference.
    39      Member model 'club' reference.
    40   """
    40   """
    41 
    41   
    42   #: Type name used in templates
    42   pass
    43   TYPE_NAME = ugettext_lazy('Club')
       
    44   #: Type short name used for example in urls
       
    45   TYPE_NAME_SHORT = 'club'
       
    46   #: Type plural name used in templates
       
    47   TYPE_NAME_PLURAL = ugettext_lazy('Clubs')