[BangPypers] Django GeoIP related Problem
pavithran s
pavi.eu at gmail.com
Mon Nov 5 15:32:05 CET 2012
On 5 November 2012 15:19, Prashant Gaur <prashant at lintelindia.com> wrote:
> HI
>
> i am using django_geoip app in my django website but i am getting errors
> please tell me what will be GEOIP_LIBRARY_PATH actually .
from the django site :
In order to perform IP-based geolocation, the GeoIP object requires
the GeoIP C libary and either the GeoIP Country or City datasets in
binary format (the CSV files will not work!). These datasets may be
downloaded from MaxMind. Grab the GeoLiteCountry/GeoIP.dat.gz and
GeoLiteCity.dat.gz files and unzip them in a directory corresponding
to what you set GEOIP_PATH with in your settings. See the example and
reference below for more details.
https://docs.djangoproject.com/en/dev/ref/contrib/gis/geoip/
And as Gora said there are ubuntu packages available , use them .
Regards,
Pavithran
More information about the BangPypers
mailing list