(self, table)
return paginate
Return pagination options passed to `.RequestConfig`:
            - True for standard pagination (default),
            - False for no pagination,
            - a dictionary for custom pagination.

        `ListView`s pagination attributes are taken into account, if `table_pagination` does not
        define the corresponding value.

        Override this method to further customize pagination for a `View`.
Return pagination options passed to `.RequestConfig`:
            - True for standard pagination (default),
            - False for no pagination,
            - a dictionary for custom pagination.
Return pagination options passed to . RequestConfig : - True for standard pagination ( default ) - False for no pagination - a dictionary for custom pagination .
def get_table_pagination(self, table):
        """
        Return pagination options passed to `.RequestConfig`:
            - True for standard pagination (default),
            - False for no pagination,
            - a dictionary for custom pagination.

        `ListView`s pagination attributes are taken into account, if `table_pagination` does not
        define the corresponding value.

        Override this method to further customize pagination for a `View`.
        """
        paginate = self.table_pagination
        if paginate is False:
            return False

        paginate = {}
        if getattr(self, "paginate_by", None) is not None:
            paginate["per_page"] = self.paginate_by
        if hasattr(self, "paginator_class"):
            paginate["paginator_class"] = self.paginator_class
        if getattr(self, "paginate_orphans", 0) != 0:
            paginate["orphans"] = self.paginate_orphans

        # table_pagination overrides any MultipleObjectMixin attributes
        if self.table_pagination:
            paginate.update(self.table_pagination)

        # we have no custom pagination settings, so just use the default.
        if not paginate and self.table_pagination is None:
            return True

        return paginate
def get_table_pagination ( self , table ) : paginate = self . table_pagination if paginate is False : return False paginate = { } if getattr ( self , "paginate_by" , None ) is not None : paginate [ "per_page" ] = self . paginate_by if hasattr ( self , "paginator_class" ) : paginate [ "paginator_class" ] = self . paginator_class if getattr ( self , "paginate_orphans" , 0 ) != 0 : paginate [ "orphans" ] = self . paginate_orphans # table_pagination overrides any MultipleObjectMixin attributes if self . table_pagination : paginate . update ( self . table_pagination ) # we have no custom pagination settings, so just use the default. if not paginate and self . table_pagination is None : return True return paginate