def get_queryset(self, request):
        queryset = Article.objects
        if not (request.toolbar and request.toolbar.edit_mode):
            queryset = queryset.published()
        return queryset
Returns base queryset with support for preview-mode.
dataset/ETHPy150Open aldryn/aldryn-newsblog/aldryn_newsblog/menu.py/NewsBlogMenu.get_queryset