code: def load_template_source(self, *ka):
          
          template_name = ka[0]
          for origin in self.get_template_sources(template_name):
              try:
                  return self.get_contents(origin), origin.name
              except TemplateDoesNotExist:
                  pass
          raise TemplateDoesNotExist(template_name)
docs: Backward compatible method for Django < 2.0.