Permalink
Browse files

[1.0.X] Fixed #10392 -- Fixed an oversight from the refactoring in r9…

…947.

Backport of r9953 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 1a5588f commit 888b154e9b22f7ecab49376b608e1028462b1891 @malcolmt malcolmt committed Mar 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/conf/__init__.py
@@ -43,7 +43,7 @@ def configure(self, default_settings=global_settings, **options):
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():

0 comments on commit 888b154

Please sign in to comment.