equal
deleted
inserted
replaced
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 |