﻿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
33550	Unexpected on_delete behavior in apps that have been removed from INSTALLED_APPS	Tobias Bengfort	nobody	"If I remove an app from ''INSTALLED_APPS'' that contains models with ForeignKeys to other apps, the python-level ''on_delete'' is removed but the database level foreign key constraint still exists. The residual ForeignKeys can then block the deletion of other content.

I guess the proper way to deal with this is to drop all tables belonging to the removed app. There should be a warning about this in the documentation.

An alternative approach could be to allow database-level ''on_delete'' (see [[ticket:21961]])"	Uncategorized	closed	Documentation	4.0	Normal	invalid	INSTALLED_APPS ForeignKey on_delete		Unreviewed	0	0	0	0	0	0
