def get_plugins_for_page(self, page, clipboard=False):
        # Get all plugins related to the page
        page_filter = Q(
            Q(pages=page),
            ~Q(placeholder_slug=settings.HTML_ID_PLACEHOLDER_CLIPBOARD))

        if clipboard:
            # Add all plugins related to the clipboard
            clipboard_filter = Q(
                pages__website=page.website,
                placeholder_slug=settings.HTML_ID_PLACEHOLDER_CLIPBOARD)
            pr_filter = Q(page_filter|clipboard_filter)
        else:
            pr_filter = page_filter

        return super(PluginRelationManager, self).get_query_set()\
            .filter(pr_filter)
Opens a database on the remote OrientDB Server.
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/plugin/models.py/PluginRelationManager.get_plugins_for_page--crossover with--dataset/ETHPy150Open mogui/pyorient/pyorient/orient.py/OrientDB.db_open