mirror of
https://github.com/django/django.git
synced 2025-07-05 10:19:20 +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:
parent
36dd744460
commit
4b8a391a3b
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user