Delete confirmation page in Admin displays circular references.
|Reported by:||Ben||Owned by:||Carl Meyer|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
A very minor bug, but also I think easy to fix. The current delete confirmation page in the admin application will display the same object multiple times if there are circular references. e.g. If we have two objects that reference each other with foreign keys then the list of dependent objects to be deleted that is displayed would be-
-object1 -object2 -object1 -object2 etc.
I think it would be better if it only displayed the first object1 and object2.
I have attached a small patch that appears to do this.