1
0
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:
wrwrwr 2014-11-29 20:27:19 +01:00 committed by Tim Graham
parent fce2890e92
commit 3a8799c8a4

View File

@ -1493,7 +1493,6 @@ class AntiPetRouter(object):
# passing pets to the 'other' database
def allow_migrate(self, db, model):
"Make sure the auth app only appears on the 'other' db"
if db == 'other':
return model._meta.object_name == 'Pet'
else: