From ea91ad4c131816fd0ea8d5f1bfb21b7abd82b47e Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Sat, 1 Apr 2017 14:00:47 -0400 Subject: Refs #25530 -- Changed _create_index_name to take a table as first parameter. --- tests/schema/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/schema') diff --git a/tests/schema/tests.py b/tests/schema/tests.py index ecc6aeb1c6..d2707ecea7 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -1640,7 +1640,7 @@ class SchemaTests(TransactionTestCase): author_index_name = index.name with connection.schema_editor() as editor: db_index_name = editor._create_index_name( - model=AuthorWithIndexedName, + table_name=AuthorWithIndexedName._meta.db_table, column_names=('name',), ) if connection.features.uppercases_column_names: -- cgit v1.3