Author: mtredinnick
Date: 2007-10-14 19:48:40 -0500 (Sun, 14 Oct 2007)
New Revision: 6514

Modified:
   django/branches/queryset-refactor/tests/regressiontests/queries/models.py
Log:
queryset-refactor: Added a test to show that #3037 is really fixed. Refs #3037.


Modified: 
django/branches/queryset-refactor/tests/regressiontests/queries/models.py
===================================================================
--- django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2007-10-15 00:30:05 UTC (rev 6513)
+++ django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2007-10-15 00:48:40 UTC (rev 6514)
@@ -325,5 +325,9 @@
 # entries in the SQL. The two Note items should be different.
 >>> qs[0].note, qs[0].creator.extra.note
 (<Note: n2>, <Note: n1>)
+
+Bug #3037
+>>> Item.objects.filter(Q(creator__name='a3', 
name='two')|Q(creator__name='a4', name='four'))
+[<Item: four>]
 """}
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to