

def mount_site(self, site):
    'Mount a supported site to this app instance.\n\n        :param site: the site instance be mounted.\n        '
    if isinstance(site, string_types):
        site = import_string(site)
    site.play_actions(target=self)

dataset/ETHPy150Open douban/brownant/brownant/app.py Brownant.mount_site/original