﻿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
25309	Docs: ATOMIC_REQUESTS is for **view** not http request	Thomas Güttler	nobody	"Current docs: https://docs.djangoproject.com/en/1.8/ref/settings/#atomic-requests

{{{
ATOMIC_REQUESTS
Default: False

Set this to True to wrap each HTTP request in a transaction on this database. See Tying transactions to HTTP requests.
}}}

According to my understanding (and the person sitting beside me) this is not correct.

ATOMIC_REQUESTS ties the transaction to the **view**, not the http request.

The middleware is part of the request. It is not inside the transaction.

I think it should be:

{{{
Set this to True to wrap each view in a transaction on this database.
}}}

"	Cleanup/optimization	closed	Documentation	1.8	Normal	fixed			Ready for checkin	1	0	0	0	0	0
