Fixed #83 -- Fixed spelling error in django.conf.settings. Nice catch, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bec9009d83
commit
7fa76265ad
|
@ -22,7 +22,7 @@ for setting in dir(global_settings):
|
||||||
try:
|
try:
|
||||||
me.SETTINGS_MODULE = os.environ["DJANGO_SETTINGS_MODULE"]
|
me.SETTINGS_MODULE = os.environ["DJANGO_SETTINGS_MODULE"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise EnvironmentError, "Environemnt variable DJANGO_SETTINGS_MODULE is undefined."
|
raise EnvironmentError, "Environment variable DJANGO_SETTINGS_MODULE is undefined."
|
||||||
|
|
||||||
try:
|
try:
|
||||||
mod = __import__(me.SETTINGS_MODULE, '', '', [''])
|
mod = __import__(me.SETTINGS_MODULE, '', '', [''])
|
||||||
|
|
Loading…
Reference in New Issue