code: def get_queryset(self):
          '''
          If MultiTenantMiddleware is used, filter queryset by request.site_id
          '''
          queryset = super(PageList, self).get_queryset()
          if hasattr(self.request, 'site_id'):
              queryset = queryset.filter(site_id=self.request.site_id)
          return querysef get_queryset(self):
          '''
          If MultiTenantMiddleware is used, filter queryset by request.site_id
          '''
          queryset = super(PageList, self).get_queryset()
          if hasattr(self.request, 'site_id'):
              queryset = queryset.filter(site_id=self.request.site_id)
          return queryset
docs: If MultiTenantMiddleware is used, filter queryset by request.site_id