mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Removed an incorrect docstring in tests/multiple_database/tests.py.
This commit is contained in:
parent
fce2890e92
commit
3a8799c8a4
@ -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…
Reference in New Issue
Block a user