mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Removed an incorrect docstring in tests/multiple_database/tests.py.
This commit is contained in:
parent
fce2890e92
commit
3a8799c8a4
1 changed files with 0 additions and 1 deletions
|
@ -1493,7 +1493,6 @@ class AntiPetRouter(object):
|
||||||
# passing pets to the 'other' database
|
# passing pets to the 'other' database
|
||||||
|
|
||||||
def allow_migrate(self, db, model):
|
def allow_migrate(self, db, model):
|
||||||
"Make sure the auth app only appears on the 'other' db"
|
|
||||||
if db == 'other':
|
if db == 'other':
|
||||||
return model._meta.object_name == 'Pet'
|
return model._meta.object_name == 'Pet'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue