MCPcopy
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 """

Calls 1

sortMethod · 0.45

Tested by

no test coverage detected