summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStefan R. Filipek <srfilipek@gmail.com>2018-04-21 09:42:14 -0400
committerTim Graham <timograham@gmail.com>2018-04-23 10:21:22 -0400
commit9ec77f3d6633691c9bbf31d10af2313689170c85 (patch)
tree4af509ec51ca5b5c4e8998f536bbbf9a71d7b136 /docs
parentacf9d6404545c58522c3011348d071d6bfca8f69 (diff)
Fixed #29349 -- Doc'd the default behavior of router.allow_relation().
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/multi-db.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt
index 394d25cfd9..f857d29010 100644
--- a/docs/topics/db/multi-db.txt
+++ b/docs/topics/db/multi-db.txt
@@ -163,6 +163,9 @@ A database Router is a class that provides up to four methods:
used by foreign key and many to many operations to determine if a
relation should be allowed between two objects.
+ If no router has an opinion (i.e. all routers return ``None``), only
+ relations within the same database are allowed.
+
.. method:: allow_migrate(db, app_label, model_name=None, **hints)
Determine if the migration operation is allowed to run on the database with