﻿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
20349	Don't load django.test when not testing	Collin Anderson	nobody	"I noticed that `django/contrib/auth/hashers.py` is loading the `settings_changed` signal from the test suite. This ends up also loading the whole test suite in addition.

All of the other code that handles the `settings_changed` signal is kept inside the test suite itself. I assume this code is kept out of the test suite because of the ""core shouldn't be aware of contrib"" rule. Seems to me it's more important to avoid unnecessarily loading the test suite on a production website.

Yes, I realize this is picky, but we're perfectionists, right?
"	Cleanup/optimization	closed	Testing framework	dev	Normal	fixed		cmawebsite@…	Accepted	1	0	0	0	0	0
