summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2016-02-10 10:01:08 +1100
committerMarkus Holtermann <info@markusholtermann.eu>2016-02-12 14:37:10 +1100
commit3af5643d82735a2831a828609397af1a271a814a (patch)
tree2d5b3aa1ff9d3573906f0355fd9ba5d0e8a3f2f5
parentedff550392d7fb23ad42119f31615bded571d6e0 (diff)
downloaddjango-3af5643d82735a2831a828609397af1a271a814a.tar.gz
[1.8.x] Fixed allow_migrate() signature in documentation
Backport of 228427ab1ab6aaafed4eacfb532f7ddb6cc1ed6c from master
-rw-r--r--docs/topics/db/multi-db.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt
index 3092d8f3d2..0f8fbaa740 100644
--- a/docs/topics/db/multi-db.txt
+++ b/docs/topics/db/multi-db.txt
@@ -315,7 +315,7 @@ send queries for the ``auth`` app to ``auth_db``::
return True
return None
- def allow_migrate(self, db, app_label, model=None, **hints):
+ def allow_migrate(self, db, app_label, model_name=None, **hints):
"""
Make sure the auth app only appears in the 'auth_db'
database.
@@ -353,7 +353,7 @@ from::
return True
return None
- def allow_migrate(self, db, app_label, model=None, **hints):
+ def allow_migrate(self, db, app_label, model_name=None, **hints):
"""
All non-auth models end up in this pool.
"""