Author: mtredinnick
Date: 2007-10-14 22:47:10 -0500 (Sun, 14 Oct 2007)
New Revision: 6519

Modified:
   django/branches/queryset-refactor/tests/regressiontests/queries/models.py
Log:
queryset-refactor: Added a test to show that #5261 is no longer a problem. Refs 
#5261.


Modified: 
django/branches/queryset-refactor/tests/regressiontests/queries/models.py
===================================================================
--- django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2007-10-15 03:32:11 UTC (rev 6518)
+++ django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2007-10-15 03:47:10 UTC (rev 6519)
@@ -353,5 +353,9 @@
 >>> ExtraInfo.objects.values('note')
 [{'note': 1}, {'note': 2}]
 
+# Bug 5261
+>>> Note.objects.exclude(Q())
+[<Note: n1>, <Note: n2>, <Note: n3>]
+
 """}
 


--~--~---------~--~----~------------~-------~--~----~
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