mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
dfddf129f0
commit
00d89f80a5
|
@ -43,7 +43,7 @@ class LazySettings(LazyObject):
|
||||||
parameter sets where to retrieve any unspecified values from (its
|
parameter sets where to retrieve any unspecified values from (its
|
||||||
argument must support attribute access (__getattr__)).
|
argument must support attribute access (__getattr__)).
|
||||||
"""
|
"""
|
||||||
if self._target != None:
|
if self._wrapped != None:
|
||||||
raise RuntimeError, 'Settings already configured.'
|
raise RuntimeError, 'Settings already configured.'
|
||||||
holder = UserSettingsHolder(default_settings)
|
holder = UserSettingsHolder(default_settings)
|
||||||
for name, value in options.items():
|
for name, value in options.items():
|
||||||
|
|
Loading…
Reference in New Issue