Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #26323 -- TransactionManagementError is raised when autocommit … #6240

Closed
wants to merge 1 commit into from

Conversation

tltx
Copy link
Contributor

@tltx tltx commented Mar 4, 2016

…is false.

@timgraham
Copy link
Member

I guess you may need to restore set_autocommit(True) at the end of the test (use a try/finally) to fix the test failures.

@aaugustin
Copy link
Member

This breaks the transactional integrity constraints which Django's transaction management is designed to enforce. See the ticket for details.

@aaugustin aaugustin closed this Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants