1
0
mirror of https://github.com/django/django.git synced 2025-07-05 02:09:13 +00:00

[1.2.X] Fixed #14395 -- Fixed typo in error message in db/__init__.py. Thanks, agabel

Backport of r13990 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-10-28 12:15:05 +00:00
parent 36dd744460
commit 4b8a391a3b

View File

@ -32,7 +32,7 @@ if not settings.DATABASES:
} }
if DEFAULT_DB_ALIAS not in settings.DATABASES: if DEFAULT_DB_ALIAS not in settings.DATABASES:
raise ImproperlyConfigured("You must default a '%s' database" % DEFAULT_DB_ALIAS) raise ImproperlyConfigured("You must define a '%s' database" % DEFAULT_DB_ALIAS)
for alias, database in settings.DATABASES.items(): for alias, database in settings.DATABASES.items():
if 'ENGINE' not in database: if 'ENGINE' not in database: