(self, page_size=15)
return get_page_list(
            1, page.paginator.num_pages, page.number, page.paginator.per_page
        )
Return a list of pages, eg [1, 2, 3, '...', 6, 7, 8]
Return a list of pages, eg [1, 2, 3, '...', 6, 7, 8]
Return a list of pages eg [ 1 2 3 ... 6 7 8 ]
def page_list(self, page_size=15):
        """Return a list of pages, eg [1, 2, 3, '...', 6, 7, 8]"""
        page = self._page
        return get_page_list(
            1, page.paginator.num_pages, page.number, page.paginator.per_page
        )
def page_list ( self , page_size = 15 ) : page = self . _page return get_page_list ( 1 , page . paginator . num_pages , page . number , page . paginator . per_page )