Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ get_names
Method
get_names
tests/gis_tests/distapp/tests.py:51–54 ·
view source on GitHub ↗
(self, qs)
Source
from the content-addressed store, hash-verified
49
self.au_pnt = GEOSGeometry(
"POINT (150.791 -34.4919)"
, 4326)
50
51
def
get_names(self, qs):
52
cities = [c.name
for
c in qs]
53
cities.sort()
54
return
cities
55
56
def
test_init(self):
57
""
"
Callers
6
test_dwithin
Method · 0.95
test_distance_lookups
Method · 0.95
test_geodetic_distance_lookups
Method · 0.95
test_distance_lookups_with_expression_rhs
Method · 0.95
test_dwithin_subquery
Method · 0.95
test_dwithin_with_expression_rhs
Method · 0.95
Calls
1
sort
Method · 0.45
Tested by
no test coverage detected