﻿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
23292	ATOMIC_REQUESTS creates unnecessary database connections and transactions	ijl	nobody	"When specifying `ATOMIC_REQUESTS` on a database, a connection is made to the database whether or not it is used. This is due to `BaseHandler.make_view_atomic` wrapping the view in a `transaction.atomic` for each database. Each call to `transaction.atomic` results in opening a database connection and then opening a transaction.

Is there any interest in modifying this to acquire connections and transactions only when the ORM attempts to use that database?"	Bug	closed	Uncategorized	1.6	Normal	wontfix	atomic_requests, database, transactions		Unreviewed	0	0	0	0	0	0
