﻿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
25745	Fix RuntimeWarnings about model reloading in test suite	Tim Graham	Simon Charette	"Similar warnings to those reported in #24812 are back in several apps: `order_with_respect_to`, `foreign_object`, `schema`.

To see the `order_with_respect_to` warnings, you must also include `contenttypes_tests` (these apps share models):
`$ python -Wall runtests.py order_with_respect_to contenttypes_tests`

Example:
{{{
/home/tim/code/django/django/db/models/base.py:283: RuntimeWarning: Model 'order_with_respect_to.bar' was already registered. Reloading models is not advised as it can lead to inconsistencies, most notably with related models.
}}}
We should probably promote `RuntimeWarning` to ""error"" in `tests/runtests.py` to prevent future regressions."	Bug	closed	Core (Other)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
