Update usage of databases instead of multidb
This commit is contained in:
1 parent
76871e3863
commit
0950478fcd
1 file changed
+1
-1
@@ -18,7 +18,7 @@ from polymorphic.tests.models import (
|
||||
|
||||
|
||||
class MultipleDatabasesTests(TestCase):
|
||||
multi_db = True
|
||||
databases = ["default", "secondary"]
|
||||
|
||||
def test_save_to_non_default_database(self):
|
||||
Model2A.objects.db_manager("secondary").create(field1="A1")
|
||||
|
||||
Reference in new issue
Block a user