#10673: If the default manager adds an annotation and sets 
use_for_related_fields,
saves can fail.
--------------------------------------+-------------------------------------
          Reporter:  benanhalt        |         Owner:     
            Status:  closed           |     Milestone:     
         Component:  ORM aggregation  |       Version:  SVN
        Resolution:  wontfix          |      Keywords:     
             Stage:  Unreviewed       |     Has_patch:  0  
        Needs_docs:  0                |   Needs_tests:  0  
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Changes (by shauncutts):

 * cc: [email protected] (added)

Comment:

 Replying to [comment:2 jacob]:
 > This is a "if it hurts then stop doing that" situation: `get_query_set`
 is expected to return a (relatively) clean queryset.

 Ok ... but then this should be documented in the "get_query_set"
 documentation IMHO. I ran into this while trying to optimize; it made a
 great difference in timing without much work, so its sort of shame it
 isn't actually possible, though of course there are other ways to get
 around this.

 ... thanks for all the hard work!

 -- Shaun

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10673#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