web/uicfg.py
branchstable
changeset 4565 9f991ee66e19
parent 4564 38f0562b744b
child 4570 ede247bbbf62
equal deleted inserted replaced
4564:38f0562b744b 4565:9f991ee66e19
   444 # deprecated ###################################################################
   444 # deprecated ###################################################################
   445 
   445 
   446 class AutoformIsInlined(RelationTags):
   446 class AutoformIsInlined(RelationTags):
   447     """XXX for < 3.6 bw compat"""
   447     """XXX for < 3.6 bw compat"""
   448     def tag_relation(self, key, tag):
   448     def tag_relation(self, key, tag):
   449         warn('autoform_is_inlined rtag is deprecated, use autoform_section '
   449         warn('autoform_is_inlined is deprecated, use autoform_section '
   450              'with inlined formtype and "attributes" or "hidden" section',
   450              'with formtype="inlined", section="attributes" or section="hidden"',
   451              DeprecationWarning, stacklevel=3)
   451              DeprecationWarning, stacklevel=3)
   452         section = tag and 'inlined' or 'hidden'
   452         section = tag and 'inlined' or 'hidden'
   453         autoform_section.tag_relation(key, 'main', section)
   453         autoform_section.tag_relation(key, 'main', section)
   454 
   454 
   455 # inlined view flag for non final relations: when True for an entry, the
   455 # inlined view flag for non final relations: when True for an entry, the