diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2021-04-05 01:24:52 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-12-05 08:21:19 +0100 |
| commit | 07f9f9960c477c7f60a5f3f243a0f404a56b1121 (patch) | |
| tree | f02201070b37ef451994746b85ceabcd9888c3e9 /docs | |
| parent | 464af0975cac6abc46b3e5c3305194c958fc465b (diff) | |
Deprecated django.contrib.gis.geoip2.GeoIP2.open().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/geoip2.txt | 4 | ||||
| -rw-r--r-- | docs/releases/5.1.txt | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 0067c8fbf5..a1b00c364a 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -66,6 +66,8 @@ details on these changes. * The ``django.contrib.gis.geoip2.GeoIP2.coords()`` method will be removed. +* The ``django.contrib.gis.geoip2.GeoIP2.open()`` method will be removed. + .. _deprecation-removed-in-5.1: 5.1 diff --git a/docs/ref/contrib/gis/geoip2.txt b/docs/ref/contrib/gis/geoip2.txt index dc735ff13e..aca31bf78b 100644 --- a/docs/ref/contrib/gis/geoip2.txt +++ b/docs/ref/contrib/gis/geoip2.txt @@ -100,6 +100,10 @@ Instantiating This classmethod instantiates the GeoIP object from the given database path and given cache setting. +.. deprecated:: 5.1 + + Use the :class:`GeoIP2()` constructor instead. + Querying -------- diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index 33b4f1c491..395acb5a89 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -310,6 +310,9 @@ Miscellaneous * The ``django.contrib.gis.geoip2.GeoIP2.coords()`` method is deprecated. Use ``django.contrib.gis.geoip2.GeoIP2.lon_lat()`` instead. +* The ``django.contrib.gis.geoip2.GeoIP2.open()`` method is deprecated. Use the + :class:`~django.contrib.gis.geoip2.GeoIP2` constructor instead. + Features removed in 5.1 ======================= |
