mirror of
https://github.com/django/django.git
synced 2024-11-30 07:06:18 +01:00
Fixed #14395 -- Fixed typo in error message in db/__init__.py. Thanks, agabel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fea159282b
commit
43cee77fb4
@ -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…
Reference in New Issue
Block a user