MCPcopy
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
17def 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

setUpClassMethod · 0.85

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected