Final piece (he says, hopefully) of r9945 changes.

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2009-03-03 02:48:02 +00:00
parent fdca9e55e8
commit 7b55da0501
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ class Command(NoArgsCommand):
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 = []