mirror of
https://github.com/django/django.git
synced 2025-03-15 20:00:46 +00:00
[1.11.x] Made GeoIP docs headers consistent with other GIS docs.
Backport of 49017dc13a20ad88c8df2375617287ee445c5d03 from master
This commit is contained in:
parent
c51fdda776
commit
6346d64873
@ -47,8 +47,8 @@ Here is an example of its usage::
|
||||
>>> g.geos('24.124.1.80').wkt
|
||||
'POINT (-97 38)'
|
||||
|
||||
``GeoIP`` Settings
|
||||
==================
|
||||
Settings
|
||||
========
|
||||
|
||||
.. setting:: GEOIP_PATH
|
||||
|
||||
@ -75,7 +75,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)
|
||||
@ -110,8 +110,8 @@ Keyword Arguments Description
|
||||
the :setting:`GEOIP_CITY` setting.
|
||||
=================== =======================================================
|
||||
|
||||
``GeoIP`` Methods
|
||||
=================
|
||||
Methods
|
||||
=======
|
||||
|
||||
Instantiating
|
||||
-------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user