From 8d695bf510154317a5f748aa5e705124e8b06001 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:09:40 +0100 Subject: Removed django.contrib.gis.geoip2.GeoIP2.open() per deprecation timeline. --- docs/ref/contrib/gis/geoip2.txt | 12 ------------ docs/releases/6.0.txt | 2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/gis/geoip2.txt b/docs/ref/contrib/gis/geoip2.txt index 89664f6b37..70f8120fc5 100644 --- a/docs/ref/contrib/gis/geoip2.txt +++ b/docs/ref/contrib/gis/geoip2.txt @@ -99,18 +99,6 @@ Keyword Arguments Description Methods ======= -Instantiating -------------- - -.. classmethod:: GeoIP2.open(path, cache) - -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/6.0.txt b/docs/releases/6.0.txt index 63401e1ac5..a3a817045f 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -307,3 +307,5 @@ to remove usage of these features. ``django.utils.itercompat`` module is removed. * The ``django.contrib.gis.geoip2.GeoIP2.coords()`` method is removed. + +* The ``django.contrib.gis.geoip2.GeoIP2.open()`` method is removed. -- cgit v1.3