MCPcopy
hub / github.com/django/django / has_next

Method has_next

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

Source from the content-addressed store, hash-verified

324 return self.object_list[index]
325
326 def has_next(self):
327 return self.number < self.paginator.num_pages
328
329 def has_previous(self):
330 return self.number > 1

Callers 5

has_other_pagesMethod · 0.95
getMethod · 0.80
test_first_pageMethod · 0.80
test_last_pageMethod · 0.80
next_page_numberMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_first_pageMethod · 0.64
test_last_pageMethod · 0.64