Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #18107 -- Replaced a deprecated import path for GeoIP in 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...
commit cbc411571aac8299dc2a0c98d0366a972d5d5f6a 1 parent 5a4d7e6
@claudep claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/contrib/gis/geoip.txt
View
2  docs/ref/contrib/gis/geoip.txt
@@ -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'}
Please sign in to comment.
Something went wrong with that request. Please try again.