def filter_published(self, queryset):
        if settings.PAGE_USE_SITE_ID:
            queryset = queryset.filter(sites=global_settings.SITE_ID)

        queryset = queryset.filter(status=self.model.PUBLISHED)

        if settings.PAGE_SHOW_START_DATE:
            queryset = queryset.filter(publication_date__lte=get_now())

        if settings.PAGE_SHOW_END_DATE:
            queryset = queryset.filter(
                Q(publication_end_date__gt=get_now()) |
                Q(publication_end_date__isnull=True)
            )

        return queryset
saves the farmer state to disk
dataset/ETHPy150Open batiste/django-page-cms/pages/managers.py/PageManager.filter_published--crossover with--dataset/ETHPy150Open StorjOld/downstream-farmer/downstream_farmer/utils.py/save