web/uicfg.py
branchstable
changeset 4782 da0ad1b10779
parent 4719 aaed3f813ef8
child 4931 92c9d0a5dc11
equal deleted inserted replaced
4781:d12cbd0b7574 4782:da0ad1b10779
   453 
   453 
   454 class AutoformIsInlined(RelationTags):
   454 class AutoformIsInlined(RelationTags):
   455     """XXX for < 3.6 bw compat"""
   455     """XXX for < 3.6 bw compat"""
   456     def tag_relation(self, key, tag):
   456     def tag_relation(self, key, tag):
   457         warn('autoform_is_inlined is deprecated, use autoform_section '
   457         warn('autoform_is_inlined is deprecated, use autoform_section '
   458              'with formtype="inlined", section="attributes" or section="hidden"',
   458              'with formtype="main", section="inlined"',
   459              DeprecationWarning, stacklevel=3)
   459              DeprecationWarning, stacklevel=3)
   460         section = tag and 'inlined' or 'hidden'
   460         section = tag and 'inlined' or 'hidden'
   461         autoform_section.tag_relation(key, 'main', section)
   461         autoform_section.tag_relation(key, 'main', section)
   462 
   462 
   463 # inlined view flag for non final relations: when True for an entry, the
   463 # inlined view flag for non final relations: when True for an entry, the