[django/django] 02976a: [1.6.x] Introduced getters for connection.autocomm...

3 views
Skip to first unread message

GitHub

unread,
Jun 30, 2013, 10:30:17 AM6/30/13
to django-...@googlegroups.com
Branch: refs/heads/stable/1.6.x
Home: https://github.com/django/django
Commit: 02976a46c926880e78eb64424a9c8aa28d8be48a
https://github.com/django/django/commit/02976a46c926880e78eb64424a9c8aa28d8be48a
Author: Aymeric Augustin <aymeric....@m4x.org>
Date: 2013-06-30 (Sun, 30 Jun 2013)

Changed paths:
M django/db/backends/__init__.py
M django/db/transaction.py

Log Message:
-----------
[1.6.x] Introduced getters for connection.autocommit and .needs_rollback.

They ensure that the attributes aren't accessed in conditions where they
don't contain a valid value.

Fixed #20666.

Backport of dd9c6bc359a799fcbed647055b596239956a472a from master.



Reply all
Reply to author
Forward
0 new messages