Re: [Django] #10631: Documentation: SQL for second exclude example is incorrect

2009-03-29 Thread Django
#10631: Documentation: SQL for second exclude example is incorrect
+---
  Reporter:  muffinresearch | Owner:  nobody
Status:  new| Milestone:  1.1   
 Component:  Documentation  |   Version:  1.0   
Resolution: |  Keywords:
 Stage:  Ready for checkin  | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by adamfast):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * milestone:  => 1.1
  * needs_docs:  => 0
  * has_patch:  0 => 1
  * stage:  Unreviewed => Ready for checkin

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #10631: Documentation: SQL for second exclude example is incorrect

2009-03-26 Thread Django
#10631: Documentation: SQL for second exclude example is incorrect
+---
 Reporter:  muffinresearch  |   Owner:  nobody
   Status:  new |   Milestone:
Component:  Documentation   | Version:  1.0   
 Keywords:  |   Stage:  Unreviewed
Has_patch:  0   |  
+---
 See http://docs.djangoproject.com/en/dev/ref/models/querysets/#exclude-
 kwargs

 The second example has AND instead of OR.

 {{{
 SELECT ...
 WHERE NOT pub_date > '2005-1-3'
 AND NOT headline = 'Hello'
 }}}

 Should be:

 {{{
 SELECT ...
 WHERE NOT pub_date > '2005-1-3'
 OR NOT headline = 'Hello'
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---