1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #2304 -- Documented TRANSACTIONS_MANAGED.

This commit is contained in:
Aymeric Augustin
2012-12-14 21:15:48 +01:00
parent 7eba5fbc02
commit a001f3c31e
3 changed files with 13 additions and 3 deletions

View File

@@ -181,8 +181,6 @@ class BaseDatabaseWrapper(object):
"""
if self.transaction_state:
return self.transaction_state[-1]
# Note that this setting isn't documented, and is only used here, and
# in enter_transaction_management()
return settings.TRANSACTIONS_MANAGED
def managed(self, flag=True):