code: def render_to_response(self, context):
          
  
          context = self.render_context_with_title(context)
          return super(PageTitleMixin, self).render_to_response(context)
docs: render_to_response() with a page title.
  
          This is an override of the default render_to_response function that
          exists in the django generic views. This is here to inject the
          page title into the context before the main template is rendered.