Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_pages
Method · 0.95
get
Method · 0.80
test_first_page
Method · 0.80
test_last_page
Method · 0.80
next_page_number
Method · 0.80
Calls
no outgoing calls
Tested by
2
test_first_page
Method · 0.64
test_last_page
Method · 0.64