id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 22309 DatabaseFeatures.supports_transactions should use temporary tables lucastan@… nobody "I am using South 0.8.4 (refer to source https://bitbucket.org/andrewgodwin/south/src/c26229113db6bbdebf36e6b31d76b45a48e29340/south/db/generic.py?at=0.8.4#cl-124) The file south/db/generic.py has this function has_ddl_transactions which access django.db.connection.features.supports_transactions However, upon accessing, it gives an error. The error could be reproduced by the following: {{{ ./manage.py shell >>> from django.db import connection >>> connection.features.supports_transactions Traceback (most recent call last): File """", line 1, in File ""/home/xx/venv/local/lib/python2.7/site-packages/django/utils/functional.py"", line 49, in __get__ res = instance.__dict__[self.func.__name__] = self.func(instance) File ""/home/xx/venv/local/lib/python2.7/site-packages/django/db/backends/__init__.py"", line 664, in supports_transactions self.connection.leave_transaction_management() File ""/home/xx/venv/local/lib/python2.7/site-packages/django/db/backends/__init__.py"", line 315, in leave_transaction_management ""Transaction managed block ended with pending COMMIT/ROLLBACK"") TransactionManagementError: Transaction managed block ended with pending COMMIT/ROLLBACK }}} Using south 0.8.4 and django 1.6. Seems like a Django error? But in the first place, is it safe to access features attribute? " Cleanup/optimization closed Database layer (models, ORM) dev Normal wontfix Accepted 0 0 0 0 0 0