Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encode/django-rest-framework
/ get_html_context
Method
get_html_context
tests/test_pagination.py:378–379 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
376
return
response.data
377
378
def
get_html_context(self):
379
return
self.pagination.get_html_context()
380
381
def
test_no_offset(self):
382
request = Request(factory.get(
'/'
, {
'limit'
: 5}))
Callers
8
test_no_offset
Method · 0.95
test_single_offset
Method · 0.95
test_first_offset
Method · 0.95
test_middle_offset
Method · 0.95
test_ending_offset
Method · 0.95
test_erroneous_offset
Method · 0.95
get_html_context
Method · 0.45
get_html_context
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected