Skip to content

Commit

Permalink
Fixed #10395 -- Fixed more fallout from r9945.
Browse files Browse the repository at this point in the history
(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
malcolmt committed Mar 3, 2009
1 parent 5e8ddd5 commit fdca9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/gis/utils/geoip.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from ctypes import c_char_p, c_float, c_int, Structure, CDLL, POINTER from ctypes import c_char_p, c_float, c_int, Structure, CDLL, POINTER
from ctypes.util import find_library from ctypes.util import find_library
from django.conf import settings 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. # Creating the settings dictionary with any settings, if needed.
GEOIP_SETTINGS = dict((key, getattr(settings, key)) GEOIP_SETTINGS = dict((key, getattr(settings, key))
Expand Down

0 comments on commit fdca9e5

Please sign in to comment.