diff options
| author | Simon Charette <charette.s@gmail.com> | 2017-04-01 14:00:47 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2017-06-20 22:59:22 -0400 |
| commit | ea91ad4c131816fd0ea8d5f1bfb21b7abd82b47e (patch) | |
| tree | 2c3ced0c291d19b630c528878a3b740c9b68af23 /tests/schema | |
| parent | ad524980ac9644d5d40c2c79af3c183f4351841e (diff) | |
Refs #25530 -- Changed _create_index_name to take a table as first parameter.
Diffstat (limited to 'tests/schema')
| -rw-r--r-- | tests/schema/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
