MCPcopy
hub / github.com/django/django / has_other_pages

Method has_other_pages

django/core/paginator.py:332–333  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

330 return self.number > 1
331
332 def has_other_pages(self):
333 return self.has_previous() or self.has_next()
334
335 def next_page_number(self):
336 return self.paginator.validate_number(self.number + 1)

Callers 3

paginate_querysetMethod · 0.80
test_first_pageMethod · 0.80
test_last_pageMethod · 0.80

Calls 2

has_previousMethod · 0.95
has_nextMethod · 0.95

Tested by 2

test_first_pageMethod · 0.64
test_last_pageMethod · 0.64