def find_template_source(name):
    """
    Load the source code and origin of the first template that matches the
    given name.
    """
    for loader_path in settings.TEMPLATE_LOADERS:
        template_loader = loader.find_template_loader(loader_path)
        try:
            source, origin = template_loader.load_template_source(name)
        except TemplateDoesNotExist:
            continue
        break
    return source, origin
Load the source code and origin of the first template that matches the
    given name.