Skip to content

Commit

Permalink
Fixed django#18107 -- Replaced a deprecated import path for GeoIP in …
Browse files Browse the repository at this point in the history
…docs. Thanks jonash for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
claudep committed Apr 11, 2012
1 parent 5a4d7e6 commit cbc4115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/contrib/gis/geoip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Example
Assuming you have the GeoIP C library installed, here is an example of its
usage::

>>> from django.contrib.gis.utils import GeoIP
>>> from django.contrib.gis.geoip import GeoIP
>>> g = GeoIP()
>>> g.country('google.com')
{'country_code': 'US', 'country_name': 'United States'}
Expand Down

0 comments on commit cbc4115

Please sign in to comment.