web/views/primary.py
branchtls-sprint
changeset 1752 4b0b912ff5b7
parent 1739 78b0819162a8
child 1885 c2011d238e98
equal deleted inserted replaced
1751:59e9a4f5bfea 1752:4b0b912ff5b7
    25     show_rel_label = True
    25     show_rel_label = True
    26     skip_none = True
    26     skip_none = True
    27     rsection = uicfg.primaryview_section
    27     rsection = uicfg.primaryview_section
    28     display_ctrl = uicfg.primaryview_display_ctrl
    28     display_ctrl = uicfg.primaryview_display_ctrl
    29     main_related_section = True
    29     main_related_section = True
    30 
       
    31     @classmethod
       
    32     def vreg_initialization_completed(cls):
       
    33         """set default category tags for relations where it's not yet defined in
       
    34         the category relation tags
       
    35         """
       
    36         cls.rsection.init(cls.schema)
       
    37         cls.display_ctrl.init(cls.schema)
       
    38 
    30 
    39     def html_headers(self):
    31     def html_headers(self):
    40         """return a list of html headers (eg something to be inserted between
    32         """return a list of html headers (eg something to be inserted between
    41         <head> and </head> of the returned page
    33         <head> and </head> of the returned page
    42 
    34