def get_paginate_by(self, queryset):
        if self.paginate_by is not None:
            return self.paginate_by
        else:
            try:
                return self.config.paginate_by
            except __HOLE__:
                return 10  # sensible failsafe
dataset/ETHPy150Open aldryn/aldryn-newsblog/aldryn_newsblog/views.py/ArticleListBase.get_paginate_by