#11296: Delete confirmation page in Admin displays circular references. ----------------------------------+----------------------------------------- Reporter: benreynwar | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 1 | ----------------------------------+----------------------------------------- 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-[[BR]]
{{{ -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. -- Ticket URL: <http://code.djangoproject.com/ticket/11296> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---