

def templates_for_host(templates):
    '\n    Given a template name (or list of them), returns the template names\n    as a list, with each name prefixed with the device directory\n    inserted into the front of the list.\n    '
    if (not isinstance(templates, (list, tuple))):
        templates = [templates]
    theme_dir = host_theme_path()
    host_templates = []
    if theme_dir:
        for template in templates:
            templates.append(('%s/templates/%s' % (theme_dir, template)))
            host_templates.append(template)
        return host_templates
    return templates

dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/utils/sites.py templates_for_host/VarMisuse@59/146 `host_templates`->`templates`