code: def render_to_template(self):
          
          context_data = self.get_context_data()
          template = self.get_template()
  
          context_data['current_template'] = template.template.name
          return template.render(context_data)
docs: Render the current menu instance to a template and return a string