﻿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
29715	Djagno ModelAdmin Pre Delete view page crash in NestedObjects.collect() method	Pavel Sirotkin	nobody	"Hello, I have some question about pre-delete ModelAdmin view. In my database I have proxy table (postgress feature) without id column call it ProxyBigTable. Some elements in another tables linked to this  ProxyBigTable, and when I want delete some objects which have connect with ProxyBigTable from my standart Django admin interface (click button delete or action Delete this objects) I get crash, when start working NestedObjects.collect() method because it build all relations which deleting from my tables. I have solution add to models who linked to ProxyBigTable some custom list value where I counting what objects I do not want to see in pre-delete view. And I override class Collector and NestedObjects for this, also override _delete_view() method for ModelAdmin. I not find another, more light solution,  maybe you know some another way? 

P.S. Sorry for my English"	Uncategorized	closed	contrib.admin	1.11	Normal	invalid	question, admin, delete		Unreviewed	0	0	0	0	0	0
