Code

Ticket #14395: 14395.diff

File 14395.diff, 522 bytes (added by agabel, 4 years ago)
Line 
1Index: django/db/__init__.py
2===================================================================
3--- django/db/__init__.py       (revision 13984)
4+++ django/db/__init__.py       (working copy)
5@@ -32,7 +32,7 @@
6     }
7 
8 if DEFAULT_DB_ALIAS not in settings.DATABASES:
9-    raise ImproperlyConfigured("You must default a '%s' database" % DEFAULT_DB_ALIAS)
10+    raise ImproperlyConfigured("You must define a '%s' database" % DEFAULT_DB_ALIAS)
11 
12 for alias, database in settings.DATABASES.items():
13     if 'ENGINE' not in database: