          def get_template(self, template_name):
              try:
                  return Template(self.engine.get_template(template_name))
              except foobar.TemplateNotFound as exc:
                  raise TemplateDoesNotExist(exc.args)
              except foobar.TemplateCompilationFailed as exc:
                  raise TemplateSyntaxError(exc.args)
  
  
      class Template(object):
 
</s> remove             tried.extend(e.tried)
 </s> add             chain.append(e) </s> remove                 tried.extend(e.tried)
 </s> add                 chain.append(e) </s> remove     raise TemplateDoesNotExist(template_name, tried=tried)
 </s> add     raise TemplateDoesNotExist(template_name, chain=chain) </s> remove         raise TemplateDoesNotExist(', '.join(template_name_list), tried=tried)
 </s> add         raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain) </s> remove             raise TemplateDoesNotExist(template_name, tried=tried)
 </s> add             raise TemplateDoesNotExist(template_name, chain=chain)
                raise TemplateDoesNotExist(exc.args, backend=self)
          def get_template(self, template_name):
              try:
                  return Template(self.engine.get_template(template_name))
              except foobar.TemplateNotFound as exc:
                raise TemplateDoesNotExist(exc.args, backend=self)
              except foobar.TemplateCompilationFailed as exc:
                  raise TemplateSyntaxError(exc.args)
  
  
      class Template(object):
keep keep keep keep replace keep keep keep keep keep
 Fixed #24119, #24120 -- Formalized debug integration for template backends. 
docs/topics/templates.txt