﻿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
21598	Cleanup template loader overrides in tests	Unai Zalakain	Unai Zalakain	A lot of tests in `template_tests` repeat a `try` `finally` block for overriding the template loader. This could be managed easily with contexts. `django.test.utils.setup_test_template_loader` makes use of a function base test template loader (which entered a deprecation timeline in `1.4`) and together with `django.test.utils.restore_template_loaders` could also be managed as a context.	Cleanup/optimization	closed	Template system	dev	Normal	fixed			Accepted	1	0	0	0	0	0
