[1.11.x] Fixed schema test failure when running tests in reverse.
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528. Backport of 78f8b80f9b215e50618375adce4c97795dabbb84 from master
This commit is contained in:
parent
979253fce9
commit
46496a542c
@ -1446,6 +1446,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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user