﻿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
15654	qs.delete() fails if a model isn't in INSTALED_APPS and the related objects cache is already filled.	Florian Apolloner	nobody	ContentType.objects.delete() fails for use since 1.3 (on_delete support to be exact) since it tries to delete all related objects pointing to that contenttype. If one of the related models is not in INSTALLED_APPS (in our case django.contrib.auth), this can fail if the model got imported (which registers it etc…; in our case django.contrib.contenttypes.generic imported auth.models -- via contrib.admin). Attached is a testcase showcasing the issue.	Bug	closed	Database layer (models, ORM)	dev	Normal	wontfix			Accepted	0	0	0	0	0	0
