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:
Adrian Holovaty 2005-07-19 14:44:27 +00:00
parent bec9009d83
commit 7fa76265ad
1 changed files with 4 additions and 4 deletions

View File

@ -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, '', '', [''])