0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Made GeoIP docs headers consistent with other GIS docs.

This commit is contained in:
Nick Pope 2017-08-23 11:11:49 +01:00 committed by Tim Graham
parent 9075805570
commit 49017dc13a

View File

@ -48,8 +48,8 @@ Here is an example of its usage::
>>> g.geos('24.124.1.80').wkt
'POINT (-97 38)'
``GeoIP`` Settings
==================
Settings
========
.. setting:: GEOIP_PATH
@ -76,7 +76,7 @@ The basename to use for the GeoIP country data file. Defaults to
The basename to use for the GeoIP city data file. Defaults to
``'GeoLite2-City.mmdb'``.
``GeoIP`` API
API Reference
=============
.. class:: GeoIP2(path=None, cache=0, country=None, city=None)
@ -111,8 +111,8 @@ Keyword Arguments Description
the :setting:`GEOIP_CITY` setting.
=================== =======================================================
``GeoIP`` Methods
=================
Methods
=======
Instantiating
-------------