code: def get_pages(self):
          '''returns pages with rows'''
          pages = []
          page = []
          for i, item in enumerate(self.get_rows):
              if i > 0 and i % self.objects_per_page == 0:
                  pages.append(page)
                  page = []
              page.append(item)
          pages.append(page)
          return pagef get_pages(self):
          '''returns pages with rows'''
          pages = []
          page = []
          for i, item in enumerate(self.get_rows):
              if i > 0 and i % self.objects_per_page == 0:
                  pages.append(page)
                  page = []
              page.append(item)
          pages.append(page)
          return pages
docs: returns pages with rows