mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Removed legacy transaction management per the deprecation timeline.
This commit is contained in:
parent
907ac64641
commit
0f9560855e
29 changed files with 78 additions and 1454 deletions
|
@ -755,7 +755,6 @@ class ConcurrentSaveTests(TransactionTestCase):
|
|||
try:
|
||||
# Do not delete a directly - doing so alters its state.
|
||||
Article.objects.filter(pk=a.pk).delete()
|
||||
connections[DEFAULT_DB_ALIAS].commit_unless_managed()
|
||||
except Exception as e:
|
||||
exceptions.append(e)
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue