diff --git a/cms/models.py b/cms/models.py index 32d2bfd91..92aba4cbb 100644 --- a/cms/models.py +++ b/cms/models.py @@ -1248,11 +1248,13 @@ def get_context(self, request, *args, **kwargs): ) custom_tabs = [] for tab in self.custom_tabs: - custom_tabs.append({ - "title": tab.value["title"], - "slug": tab.value["href_slug"], - "content": tab.value["content"] - }) + custom_tabs.append( # noqa: PERF401 + { + "title": tab.value["title"], + "slug": tab.value["href_slug"], + "content": tab.value["content"] + } + ) return { **super().get_context(request, *args, **kwargs), **get_base_context(request),