0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fix index_together test

This commit is contained in:
Andrew Godwin 2013-07-02 12:06:26 +01:00
parent dbd3e775c1
commit 2202e3f7d3

View File

@ -488,7 +488,7 @@ class SchemaTests(TransactionTestCase):
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")],
[],