diff options
| author | Tim Graham <timograham@gmail.com> | 2018-04-12 13:59:02 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-04-12 13:59:02 -0400 |
| commit | 78f8b80f9b215e50618375adce4c97795dabbb84 (patch) | |
| tree | 6c5758eec98d76cfcb57f0c220ee9630210f158c | |
| parent | 33a0b7ac815588ed92dca215e153390af8bdbdda (diff) | |
Fixed schema test failure when running tests in reverse.
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528.
| -rw-r--r-- | tests/schema/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index b535a834f9..fd818392b0 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -1599,6 +1599,7 @@ class SchemaTests(TransactionTestCase): class Meta: app_label = 'schema' + self.isolated_local_models = [Book._meta.get_field('tags').remote_field.through] with connection.schema_editor() as editor: editor.create_model(Tag) editor.create_model(Book) |
