summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-04-11 21:35:08 +0000
committerClaude Paroz <claude@2xlibre.net>2012-04-11 21:35:08 +0000
commitcbc411571aac8299dc2a0c98d0366a972d5d5f6a (patch)
tree211bddac1f862991cf2aaf66519d5fc5f25b02b4
parent5a4d7e63ceb5d1a987c3466e3c6b0149eff5e222 (diff)
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
-rw-r--r--docs/ref/contrib/gis/geoip.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/geoip.txt b/docs/ref/contrib/gis/geoip.txt
index 62185834ca..a30573d860 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'}