#12687: Using exclude on a queryset with an annotate field give attribute error.
--------------------------------------+-------------------------------------
          Reporter:  AsgeirM          |         Owner:                          
       
            Status:  new              |     Milestone:  1.3                     
       
         Component:  ORM aggregation  |       Version:  1.2                     
       
        Resolution:                   |      Keywords:  annotate exclude 
AttributeError
             Stage:  Accepted         |     Has_patch:  0                       
       
        Needs_docs:  0                |   Needs_tests:  0                       
       
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Changes (by anonymous):

  * version:  1.1 => 1.2

Comment:

 Also attribute error in Django 1.2:
 {{{
 print q_set.filter(~Q(parent__somefield=1)).query
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12687#comment:3>
Django <http://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