def on_site(self):
        return self.filter(sites__id=settings.SITE_ID)
Return objects linked to the current site only.
dataset/ETHPy150Open jdriscoll/django-photologue/photologue/managers.py/SharedQueries.on_site