diff options
| author | Markus Holtermann <info@markusholtermann.eu> | 2016-02-10 10:01:08 +1100 |
|---|---|---|
| committer | Markus Holtermann <info@markusholtermann.eu> | 2016-02-12 14:16:03 +1100 |
| commit | 228427ab1ab6aaafed4eacfb532f7ddb6cc1ed6c (patch) | |
| tree | 351a74965d89733e3c1177d0de6da76b4b5ded0f | |
| parent | 02430ef19d9a7d3663cbc1cf66438e9e86b919d1 (diff) | |
Fixed allow_migrate() signature in documentation
| -rw-r--r-- | docs/topics/db/multi-db.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt index ca35d1f933..e8d362fff7 100644 --- a/docs/topics/db/multi-db.txt +++ b/docs/topics/db/multi-db.txt @@ -308,7 +308,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. @@ -346,7 +346,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. """ |
