mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Deprecated django.contrib.gis.geoip2.GeoIP2.coords().
The `ordering` argument is undocumented and of limited use, so this is effectively the same as `GeoIP2.lon_lat()`.
This commit is contained in:
parent
1311f82a6a
commit
b925fefd7d
5 changed files with 25 additions and 3 deletions
|
@ -133,6 +133,10 @@ Coordinate Retrieval
|
|||
|
||||
Returns a coordinate tuple of (longitude, latitude).
|
||||
|
||||
.. deprecated:: 5.1
|
||||
|
||||
Use :meth:`.GeoIP2.lon_lat` instead.
|
||||
|
||||
.. method:: GeoIP2.lon_lat(query)
|
||||
|
||||
Returns a coordinate tuple of (longitude, latitude).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue