Skip to content

Commit e8f2127

Browse files
authored
Apply suggestion from @fsbraun
1 parent 6c86d5e commit e8f2127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_frontend/contrib/tabs/cms_plugins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class TabItemPlugin(mixin_factory("TabItem"), AttributesMixin, PaddingMixin, CMS
7171

7272
def get_render_template(self, context, instance, placeholder):
7373
return get_plugin_template(
74-
instance.parent.get_plugin_instance()[0] if instance.parent else instance,
74+
instance.parent.get_plugin_instance()[0] if instance.parent else instance, # instance.parent or instance once django-cms 4.1 support can be dropped
7575
"tabs",
7676
"item",
7777
TAB_TEMPLATE_CHOICES,

0 commit comments

Comments
 (0)