summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/geoip2.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/ref/contrib/gis/geoip2.txt b/docs/ref/contrib/gis/geoip2.txt
index 2dc3dff526..abf0a7ca91 100644
--- a/docs/ref/contrib/gis/geoip2.txt
+++ b/docs/ref/contrib/gis/geoip2.txt
@@ -86,6 +86,10 @@ Keyword Arguments Description
the :setting:`GEOIP_CITY` setting.
=================== =======================================================
+.. versionchanged:: 3.0
+
+ Support for :class:`pathlib.Path` ``path`` was added.
+
Methods
=======
@@ -151,10 +155,14 @@ Settings
``GEOIP_PATH``
--------------
-A string specifying the directory where the GeoIP data files are
-located. This setting is *required* unless manually specified
+A string or :class:`pathlib.Path` specifying the directory where the GeoIP data
+files are located. This setting is *required* unless manually specified
with ``path`` keyword when initializing the :class:`GeoIP2` object.
+.. versionchanged:: 3.0
+
+ Support for :class:`pathlib.Path` was added.
+
.. setting:: GEOIP_COUNTRY
``GEOIP_COUNTRY``