[1.8.x] Fixed allow_migrate() signature in documentation

Backport of 228427ab1a from master
This commit is contained in:
Markus Holtermann 2016-02-10 10:01:08 +11:00
parent edff550392
commit 3af5643d82
1 changed files with 2 additions and 2 deletions

View File

@ -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.
"""