def get_queryset(self, request):
    version_tracker_model = self.get_site().get_version_tracker_model()
    site_pages = version_tracker_model.objects.filter(widgypage__site_id=current_site_id())
    site_nodes = Node.objects.filter(versiontracker__in=site_pages)
    qs = super(MultiSiteFormAdmin, self).get_queryset(request).filter(_nodes__path__path_root__in=site_nodes.values_list('path'))
    return qs
def get_queryset(self, request):
    version_tracker_model = self.get_site().get_version_tracker_model()
    site_pages = version_tracker_model.objects.filter(widgypage__site_id=current_site_id())
    site_nodes = Node.objects.filter(versiontracker__in=site_pages)
    qs = super(MultiSiteFormAdmin, self).get_queryset(request).filter(_nodes__path__path_root__in=site_nodes.values_list('path'))
    return qs