﻿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
28478	Make DiscoverRunner skip creating a test database if not needed	Tim Graham	nobody	"Inspired by https://gist.github.com/zenweasel/7495758 and https://www.caktusgroup.com/blog/2013/10/02/skipping-test-db-creation/, `DiscoverRunner` could skip creating the test database if no `TransactionTestCase` or its subclasses are used.

I'd suggest adding an attribute on the test classes such as `_needs_database` rather than using `isinstance(test, TransactionTestCase)` in those patches. This would allow compatibility in case Django users have other classes using the database that don't inherit from Django's classes (though I'm not aware of anyone doing this)."	Cleanup/optimization	closed	Testing framework	dev	Release blocker	fixed		Adam Johnson Simon Charette	Accepted	1	0	0	1	0	0
