Should for a M2M field
ModelClass.objects.all() be same as ModelClass.objects.filter(some_m2m
= some_m2m) UNION ModelClass.objects.exclude(some_m2m = some_m2m)?
 If yes then probably there is a bug. To test define a model class as
in
[1]. Do the tests like in [2]. Check that .all() does not give same
results
as .filter() + .exclude() .
I am not logging this as a bug, coz I do not know if this is the
expected behaviour.

 [1]http://dpaste.com/32649/
[2]http://dpaste.com/32648/

(Cross posted from, 
http://groups.google.com/group/django-users/browse_thread/thread/c8ec576134344ea5
)
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to