Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix index_together test

  • Loading branch information...
commit 2202e3f7d3b3855d59d87c3865982f43b9370ba1 1 parent dbd3e77
@andrewgodwin andrewgodwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/schema/tests.py
View
2  tests/schema/tests.py
@@ -488,7 +488,7 @@ def test_index_together(self):
new_new_field = SlugField(unique=True)
new_new_field.set_attributes_from_name("slug")
with connection.schema_editor() as editor:
- editor.alter_unique_together(
+ editor.alter_index_together(
Tag,
[("slug", "title")],
[],

0 comments on commit 2202e3f

Please sign in to comment.
Something went wrong with that request. Please try again.