summaryrefslogtreecommitdiff
path: root/tests/schema
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2016-05-06 02:13:32 +0200
committerMarkus Holtermann <info@markusholtermann.eu>2016-05-07 01:21:00 +0200
commitdeeffde84a23660e3dd589abaaa7454f4ee45fda (patch)
treedf613ff66f562c9bbaa12cbfcc1351e76c1eabac /tests/schema
parentc6499d532d5909c29b4de68de75ea35d752940fb (diff)
Fixed #26593 -- Leveraged deferrable_sql() in SchemaEditor
Diffstat (limited to 'tests/schema')
-rw-r--r--tests/schema/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py
index 3a426cb74c..5e2bd8ef96 100644
--- a/tests/schema/tests.py
+++ b/tests/schema/tests.py
@@ -1628,6 +1628,7 @@ class SchemaTests(TransactionTestCase):
"column": editor.quote_name(column),
"to_table": editor.quote_name(table),
"to_column": editor.quote_name(model._meta.auto_field.column),
+ "deferrable": connection.ops.deferrable_sql(),
}
)
editor.alter_field(model, get_field(Author, CASCADE, field_class=ForeignKey), field)