mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +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
|
@ -371,7 +371,7 @@ class PostgresNewConnectionTests(TestCase):
|
|||
# Fetch a new connection with the new_tz as default
|
||||
# time zone, run a query and rollback.
|
||||
new_connection.settings_dict['TIME_ZONE'] = new_tz
|
||||
new_connection.enter_transaction_management()
|
||||
new_connection.set_autocommit(False)
|
||||
cursor = new_connection.cursor()
|
||||
new_connection.rollback()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue