From b925fefd7da49e3a1ecbbba82409c655963ab6dd Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Thu, 30 Nov 2023 09:51:42 +0000 Subject: 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()`. --- docs/ref/contrib/gis/geoip2.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/contrib/gis/geoip2.txt b/docs/ref/contrib/gis/geoip2.txt index 5468cff29d..dc735ff13e 100644 --- a/docs/ref/contrib/gis/geoip2.txt +++ b/docs/ref/contrib/gis/geoip2.txt @@ -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). -- cgit v1.3