code: def get_context_data(self, **kwargs):
          
          context = super(TabView, self).get_context_data(**kwargs)
          try:
              tab_group = self.get_tabs(self.request, **kwargs)
              context["tab_group"] = tab_group
              # Make sure our data is pre-loaded to capture errors.
              context["tab_group"].load_tab_data()
          except Exception:
              exceptions.handle(self.request)
          return context
docs: Adds the ``tab_group`` variable to the context data.