~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to docs/ref/contrib/gis/geoip.txt

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2012-10-22 10:53:30 UTC
  • mfrom: (1.2.14)
  • Revision ID: package-import@ubuntu.com-20121022105330-el5jslfv9tkcrwkv
Tags: 1.4.2-1
* New upstream security and maintenance release. Closes: #691145
  Fixes: CVE-2012-4520
* Drop 01_use_stdlib_htmlparser_when_possible.diff which has been
  merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
In order to perform IP-based geolocation, the :class:`GeoIP` object requires
24
24
the GeoIP C libary and either the GeoIP `Country`__ or `City`__ 
25
25
datasets in binary format (the CSV files will not work!).  These datasets may be 
26
 
`downloaded from MaxMind`__.  Grab the ``GeoIP.dat.gz`` and ``GeoLiteCity.dat.gz``
27
 
and unzip them in a directory corresponding to what you set 
28
 
:setting:`GEOIP_PATH` with in your settings.  See the example and reference below
29
 
for more details.
 
26
`downloaded from MaxMind`__.  Grab the ``GeoLiteCountry/GeoIP.dat.gz`` and
 
27
``GeoLiteCity.dat.gz`` files and unzip them in a directory corresponding to what
 
28
you set :setting:`GEOIP_PATH` with in your settings.  See the example and
 
29
reference below for more details.
30
30
 
31
31
__ http://www.maxmind.com/app/c
32
32
__ http://www.maxmind.com/app/python