Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ build_geoip_path
Function
build_geoip_path
tests/gis_tests/test_geoip2.py:17–18 ·
view source on GitHub ↗
(*parts)
Source
from the content-addressed store, hash-verified
15
16
17
def
build_geoip_path(*parts):
18
return
pathlib.Path(__file__).parent.joinpath(
"data/geoip2"
, *parts).resolve()
19
20
21
@skipUnless(HAS_GEOIP2,
"GeoIP2 is required."
)
Callers
2
setUpClass
Method · 0.85
test_unsupported_database
Method · 0.85
Calls
1
resolve
Method · 0.45
Tested by
no test coverage detected