mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Deprecated django.contrib.gis.geoip2.GeoIP2.open().
This commit is contained in:
parent
464af0975c
commit
07f9f9960c
5 changed files with 24 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
--------
|
||||
|
||||
|
|
|
@ -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
|
||||
=======================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue