code: def get_template(self, template_name):
          
          try:
              return self.loader.load(template_name, encoding=self.encoding)
          except self.not_found_exception, e:
              # catch the exception raised by Genshi, convert it into a werkzeug
              # exception (for the sake of consistency)
              raise TemplateNotFound(template_name)
docs: Get the template which is at the given name