code: def page(self, number):
          
          number = self.validate_number(number)
          # remove the extra item(s) when creating the page
          page_items = self.object_list[:self.per_page]
          return FinitePage(page_items, number, self)
docs: Returns a Page object for the given 1-based page number.