On Sun, 2006-06-25 at 14:04 +0400, Ivan Sagalaev wrote: > I'd like to draw some attention to ticket > http://code.djangoproject.com/ticket/2232 (mainly russelm's attention as > it appeared after his checkin 3195). > > Basically ManyToMany relations don't work when you try to get related > queryset from a model where ManyToManyField is defined. Or is it just me?
Pretty much "just you", but it's obviously a little trickier than that. This is basically ticket #1796 occurring again. You'll find it will only fail in some very specific cases and it's dependent upon both your machine and your Python build. The patch labelled ManyToMany.patch in ticket #1796 might well fix your problem in the short-term. I tend to agree with Luke (see his last comment on that ticket) that it's probably the completely correct fix, rather a correction after the fact of the problem. But we might have to check it in for now until we work out the deeper mystery there (which could well just be that things imported from different paths cannot be identified with each other reliably and so we can't fix this). Are the tests failing for you, too, Ivan? I just ran them (and my code is up to date) and also tested out a few apps I have here using ManyToMany and I saw no problem. I'm looking at #1796 now. Will try to check in something reasonable if I can in the next couple of hours (although I can't actually replicate the problem, so I'll probably just have to Use The Force or something). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---
