From 00d89f80a52342e3a40ae298155df5b7d1fae7ad Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Mon, 2 Mar 2009 08:24:14 +0000 Subject: [PATCH] Fixed #10392 -- Fixed an oversight from the refactoring in r9945. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9953 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/conf/__init__.py b/django/conf/__init__.py index 81787d63d5..425425bc5f 100644 --- a/django/conf/__init__.py +++ b/django/conf/__init__.py @@ -43,7 +43,7 @@ class LazySettings(LazyObject): parameter sets where to retrieve any unspecified values from (its argument must support attribute access (__getattr__)). """ - if self._target != None: + if self._wrapped != None: raise RuntimeError, 'Settings already configured.' holder = UserSettingsHolder(default_settings) for name, value in options.items():