mirror of
https://github.com/django/django.git
synced 2025-08-10 05:48:15 +00:00
[5.1.x] Used :pypi: role in docs where appropriate.
Backport of 304d256674
from main.
This commit is contained in:
parent
88ebcb1856
commit
20bd3f02be
10 changed files with 25 additions and 35 deletions
|
@ -5,8 +5,8 @@ Geolocation with GeoIP2
|
|||
.. module:: django.contrib.gis.geoip2
|
||||
:synopsis: Python interface for MaxMind's GeoIP2 databases.
|
||||
|
||||
The :class:`GeoIP2` object is a wrapper for the `MaxMind geoip2 Python
|
||||
library`__. [#]_
|
||||
The :class:`GeoIP2` object is a wrapper for the :pypi:`MaxMind geoip2 Python
|
||||
library <geoip2>`. [#]_
|
||||
|
||||
In order to perform IP-based geolocation, the :class:`GeoIP2` object requires
|
||||
the :pypi:`geoip2` Python package and the GeoIP ``Country`` and/or ``City``
|
||||
|
@ -18,7 +18,6 @@ the :setting:`GEOIP_PATH` setting.
|
|||
Additionally, it is recommended to install the `libmaxminddb C library`__, so
|
||||
that ``geoip2`` can leverage the C library's faster speed.
|
||||
|
||||
__ https://geoip2.readthedocs.io/
|
||||
__ https://dev.maxmind.com/geoip/geolite2-free-geolocation-data
|
||||
__ https://db-ip.com/db/lite.php
|
||||
__ https://github.com/maxmind/libmaxminddb/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue