From cbc411571aac8299dc2a0c98d0366a972d5d5f6a Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Wed, 11 Apr 2012 21:35:08 +0000 Subject: [PATCH] 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 --- docs/ref/contrib/gis/geoip.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/gis/geoip.txt b/docs/ref/contrib/gis/geoip.txt index 62185834ca2..a30573d8604 100644 --- a/docs/ref/contrib/gis/geoip.txt +++ b/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'}