#17600: Error in encapsulates filters (Q)
-------------------------------------+-------------------------------------
     Reporter:  pmartin              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.3
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by akaariai):

 * has_patch:  0 => 1
 * stage:  Design decision needed => Accepted


Comment:

 I believe the code in this branch could fix this ticket:
 https://github.com/akaariai/django/tree/refactor_utils_tree

 While the branch is named refactor_utils_tree it actually refactors
 query.qs.add_q() too. The branch contains some test cases, but it would be
 interesting to see how the branch works with your tests. If you are able
 to do the testing that would be valuable. If not, I will try to find time
 to do it myself.

 Im marking this as accepted - to me it is obvious there is a bug here, and
 one which is fixable with reasonable amount of work.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17600#comment:15>
Django <https://code.djangoproject.com/>
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 [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