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

Fixed #21453 -- Enabled autocommit before calling init_connection_state.

Also ensured the transaction state is clean on Oracle while I was there.

This change cannot be backported to 1.6 because it's
backwards-incompatible for custom database backends.
This commit is contained in:
Aymeric Augustin
2014-01-12 20:27:08 +01:00
parent c726598c3d
commit fbe1abac4a
4 changed files with 14 additions and 7 deletions

View File

@@ -899,6 +899,11 @@ Miscellaneous
* GeoDjango dropped support for GEOS < 3.1.
* The ``init_connection_state`` method of database backends now executes in
autocommit mode (unless you set :setting:`AUTOCOMMIT <DATABASE-AUTOCOMMIT>`
to ``False``). If you maintain a custom database backend, you should check
that method.
Features deprecated in 1.7
==========================