Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit fdca9e55e805a22fa1c9467f6958d28361f3932f 1 parent 5e8ddd5
Malcolm Tredinnick authored March 03, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/gis/utils/geoip.py
2  django/contrib/gis/utils/geoip.py
@@ -42,7 +42,7 @@
42 42
 from ctypes import c_char_p, c_float, c_int, Structure, CDLL, POINTER
43 43
 from ctypes.util import find_library
44 44
 from django.conf import settings
45  
-if not settings._target: settings.configure()
  45
+if not settings.configured: settings.configure()
46 46
 
47 47
 # Creating the settings dictionary with any settings, if needed.
48 48
 GEOIP_SETTINGS = dict((key, getattr(settings, key)) 

0 notes on commit fdca9e5

Please sign in to comment.
Something went wrong with that request. Please try again.