mirror of
https://github.com/django/django.git
synced 2025-07-18 16:49:13 +00:00
[1.9.x] Fixed allow_migrate() signature in documentation
Backport of 228427ab1ab6aaafed4eacfb532f7ddb6cc1ed6c from master
This commit is contained in:
parent
6a0832dacb
commit
765f6d8041
@ -314,7 +314,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.
|
||||
@ -352,7 +352,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.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user