[django/django] dd9c6b: Introduced getters for connection.autocommit and ....

3 views
Skip to first unread message

GitHub

unread,
Jun 30, 2013, 10:26:58 AM6/30/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: dd9c6bc359a799fcbed647055b596239956a472a
https://github.com/django/django/commit/dd9c6bc359a799fcbed647055b596239956a472a
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:
-----------
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.



Reply all
Reply to author
Forward
0 new messages