From: "Django" <nore...@djangoproject.com>
Date: Mon, 11 Jan 2010 00:25:36 -0000
Local: Sun, Jan 10 2010 7:25 pm
Subject: Re: [Django] #6191: Admin delete view doesn't show all items in some circumstances
#6191: Admin delete view doesn't show all items in some circumstances
-------------------------------------------+------------------------------- - Reporter: nicklane | Owner: carljm Status: new | Milestone: Component: django.contrib.admin | Version: SVN Resolution: | Keywords: nfa-someday Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 1 | -------------------------------------------+------------------------------- - Comment (by carljm): The attached patch is based on nicklane's 6191.patch, updated to apply to
Notably (among other things), the new tests test that:
1. If a model has two foreign keys to it from a single related model, both
2. A given object is only displayed once in the list, even if it can be
3. A cyclic dependency still only lists each object once, not repeatedly
IMO, kmtracey is right: the real fix here is to re-use the same code that
-- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||