Permalink
Browse files

Fix index_together test

  • Loading branch information...
1 parent dbd3e77 commit 2202e3f7d3b3855d59d87c3865982f43b9370ba1 @andrewgodwin andrewgodwin committed Jul 2, 2013
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.