def load_template_source(template_name, template_dirs=None):

    try:
        return open(template_name).read(), template_name
    except IOError:
        raise TemplateDoesNotExist, template_name
Give capability to load template from specific directory
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/freeloader.py/load_template_source