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