1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #31477 -- Removed "using" argument from DatabaseOperations.execute_sql_flush().

This commit is contained in:
Jon Dufresne
2020-04-19 22:49:35 -07:00
committed by GitHub
parent 661e39c8d5
commit 5673d4b102
5 changed files with 12 additions and 5 deletions

View File

@@ -172,7 +172,7 @@ class SqlFlushTests(TransactionTestCase):
reset_sequences=True,
allow_cascade=True,
)
connection.ops.execute_sql_flush(connection.alias, sql_list)
connection.ops.execute_sql_flush(sql_list)
with transaction.atomic():
self.assertIs(Author.objects.exists(), False)