Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[1.0.X] Final pieces (he says, hopefully) of r9945 changes.

Fixed " diffsettings" and some GeoDjango stuff.
Refs #10395.

Backport of r9960 and r9961 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit dcb0884d682edac06d15e427394afc8e92844152 1 parent 9e6d32e
@malcolmt malcolmt authored
2  django/contrib/gis/utils/
@@ -42,7 +42,7 @@
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))
4 django/core/management/commands/
@@ -16,9 +16,9 @@ def handle_noargs(self, **options):
from django.conf import settings, global_settings
# Because settings are imported lazily, we need to explicitly load them.
- settings._import_settings()
+ settings._setup()
- user_settings = module_to_dict(settings._target)
+ user_settings = module_to_dict(settings._wrapped)
default_settings = module_to_dict(global_settings)
output = []

0 comments on commit dcb0884

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