diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-03-03 02:45:15 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2009-03-03 02:45:15 +0000 |
| commit | fdca9e55e805a22fa1c9467f6958d28361f3932f (patch) | |
| tree | 1448c1f5dbdb5d2a0d5f731f2a464d3d3cc97f85 | |
| parent | 5e8ddd59e231201d80780ab164f288d114857dee (diff) | |
Fixed #10395 -- Fixed more fallout from r9945.
(Simultaneously, stop django.contrib.gis using some internal attribute when
there's a perfectly good public property available to do the same thing.)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/gis/utils/geoip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/utils/geoip.py b/django/contrib/gis/utils/geoip.py index 4d163aab9a..8c21ab290a 100644 --- a/django/contrib/gis/utils/geoip.py +++ b/django/contrib/gis/utils/geoip.py @@ -42,7 +42,7 @@ import os, re from ctypes import c_char_p, c_float, c_int, Structure, CDLL, POINTER from ctypes.util import find_library from django.conf import settings -if not settings._target: settings.configure() +if not settings.configured: settings.configure() # Creating the settings dictionary with any settings, if needed. GEOIP_SETTINGS = dict((key, getattr(settings, key)) |
