'Don\'t load templates if their name start with a prefix from
JINGO_EXCLUDE_PATHS.'

def _valid_template(self, template_name):

    if isinstance(template_name, Template):
        return True
    jingo_valid = super(Loader, self)._valid_template(template_name)
    if (not jingo_valid):
        return False
    for path_prefix in getattr(settings, 'JINGO_EXCLUDE_PATHS', []):
        if (path_prefix in template_name):
            return False
    return True
