Fix index_together test

This commit is contained in:
Andrew Godwin 2013-07-02 12:06:26 +01:00
parent dbd3e775c1
commit 2202e3f7d3
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ class SchemaTests(TransactionTestCase):
new_new_field = SlugField(unique=True) new_new_field = SlugField(unique=True)
new_new_field.set_attributes_from_name("slug") new_new_field.set_attributes_from_name("slug")
with connection.schema_editor() as editor: with connection.schema_editor() as editor:
editor.alter_unique_together( editor.alter_index_together(
Tag, Tag,
[("slug", "title")], [("slug", "title")],
[], [],