Re: [Django] #27251: Cannot combine multiple SearchQuery objects

2016-09-20 Thread Django
#27251: Cannot combine multiple SearchQuery objects
--+--
 Reporter:  jaap3 |Owner:
 Type:  Bug   |   Status:  closed
Component:  contrib.postgres  |  Version:  1.10
 Severity:  Normal|   Resolution:  duplicate
 Keywords:| Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by claudep):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => duplicate
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Should be fixed in #27143.

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.1700d9c519621c0b39250ee00d13462c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #27251: Cannot combine multiple SearchQuery objects

2016-09-20 Thread Django
#27251: Cannot combine multiple SearchQuery objects
--+--
 Reporter:  jaap3 |  Owner:
 Type:  Bug   | Status:  new
Component:  contrib.postgres  |Version:  1.10
 Severity:  Normal|   Keywords:
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  0 |  UI/UX:  0
--+--
 According to the docs:

 
[https://docs.djangoproject.com/en/1.10/ref/contrib/postgres/search/#searchquery
 SearchQuery]  terms can be combined logically to provide more flexibility

 This works for two SearchQuery objects

 {{{
 >>> SearchQuery('foo') | SearchQuery('bar')
 
 }}}

 But any more than that and an exception is raised:

 {{{
 >>> SearchQuery('foo') | SearchQuery('bar') | SearchQuery('baz')
 NotImplementedError: Use .bitand() and .bitor() for bitwise logical
 operations.
 }}}

--
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/048.4a433381d9a79aecf3ac4069150811f9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.