Author: mtredinnick
Date: 2009-03-02 20:48:02 -0600 (Mon, 02 Mar 2009)
New Revision: 9961

Modified:
   django/trunk/django/core/management/commands/diffsettings.py
Log:
Final piece (he says, hopefully) of r9945 changes.

This time, "django-admin.py diffsettings" is fixed.

Modified: django/trunk/django/core/management/commands/diffsettings.py
===================================================================
--- django/trunk/django/core/management/commands/diffsettings.py        
2009-03-03 02:45:15 UTC (rev 9960)
+++ django/trunk/django/core/management/commands/diffsettings.py        
2009-03-03 02:48:02 UTC (rev 9961)
@@ -16,9 +16,9 @@
         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 = []


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to