
vÅÏ^6  ã               @   sj   d  Z  d g Z y d d l Z Wn e k
 r9 d Z Yn- Xd d l m Z m Z d Z e d d	 g 7Z d S)
aT  
This module houses the GeoIP2 object, a wrapper for the MaxMind GeoIP2(R)
Python API (https://geoip2.readthedocs.io/). This is an alternative to the
Python GeoIP2 interface provided by MaxMind.

GeoIP(R) is a registered trademark of MaxMind, Inc.

For IP-based geolocation, this module requires the GeoLite2 Country and City
datasets, in binary format (CSV will not work!). The datasets may be
downloaded from MaxMind at http://dev.maxmind.com/geoip/geoip2/geolite2/.
Grab GeoLite2-Country.mmdb.gz and GeoLite2-City.mmdb.gz, and unzip them in the
directory corresponding to settings.GEOIP_PATH.
Ú
HAS_GEOIP2é    NFé   )ÚGeoIP2ÚGeoIP2ExceptionTr   r   )Ú__doc__Ú__all__Zgeoip2ÚImportErrorr   Úbaser   r   © r
   r
   úD/tmp/pip-build-8lau8j11/django/django/contrib/gis/geoip2/__init__.pyÚ<module>   s   	