summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-02-23 15:21:35 -0500
committerTim Graham <timograham@gmail.com>2013-02-23 15:23:00 -0500
commitfceafa192901856edc0d44b593420e36100136b8 (patch)
treec5130755417e630affd6750df9c7c15a079875b8
parent29b0d89ee9f9260d94b2352441938aab0e77f554 (diff)
[1.5.X] Fixed #19775 - Clarified requirements of the "default" database.
Thanks monkut for the report and wsmith323 for the patch. Backport of 31bcb102b2 from master
-rw-r--r--docs/topics/db/multi-db.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt
index 8a02305376..dd7e59b99e 100644
--- a/docs/topics/db/multi-db.txt
+++ b/docs/topics/db/multi-db.txt
@@ -21,8 +21,10 @@ documentation.
Databases can have any alias you choose. However, the alias
``default`` has special significance. Django uses the database with
the alias of ``default`` when no other database has been selected. If
-you don't have a ``default`` database, you need to be careful to
-always specify the database that you want to use.
+the concept of a ``default`` database doesn't make sense in the context
+of your project, you need to be careful to always specify the database
+that you want to use. Django requires that a ``default`` database entry
+be defined, but the parameters can be left blank if it will not be used.
The following is an example ``settings.py`` snippet defining two
databases -- a default PostgreSQL database and a MySQL database called