web/uicfg.py
changeset 4339 fe93b670343d
parent 4261 b45a3563c6bb
child 4347 af7b256bf2d5
equal deleted inserted replaced
4338:0eb7efcbcee1 4339:fe93b670343d
   434 class AutoformIsInlined(RelationTags):
   434 class AutoformIsInlined(RelationTags):
   435     """XXX for < 3.6 bw compat"""
   435     """XXX for < 3.6 bw compat"""
   436     def tag_relation(self, key, tag):
   436     def tag_relation(self, key, tag):
   437         warn('autoform_is_inlined rtag is deprecated, use autoform_section '
   437         warn('autoform_is_inlined rtag is deprecated, use autoform_section '
   438              'with inlined formtype and "attributes" or "hidden" section',
   438              'with inlined formtype and "attributes" or "hidden" section',
   439              DeprecationWarning, stacklevel=2)
   439              DeprecationWarning, stacklevel=3)
   440         section = tag and 'inlined' or 'hidden'
   440         section = tag and 'inlined' or 'hidden'
   441         autoform_section.tag_relation(key, 'main', section)
   441         autoform_section.tag_relation(key, 'main', section)
   442 
   442 
   443 # inlined view flag for non final relations: when True for an entry, the
   443 # inlined view flag for non final relations: when True for an entry, the
   444 # entity(ies) at the other end of the relation will be editable from the
   444 # entity(ies) at the other end of the relation will be editable from the