def load_template_source(template_name, template_dirs=None):
    """
    Give capability to load template from specific directory
    """

    try:
        return open(template_name).read(), template_name
    except __HOLE__:
        raise TemplateDoesNotExist, template_name
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/freeloader.py/load_template_source