#532: get_values doesn't work with the "select" lookup
------------------------------+---------------------------------------------
 Reporter:  jacob             |        Owner:  jacob  
     Type:  defect            |       Status:  closed 
 Priority:  normal            |    Milestone:         
Component:  Database wrapper  |      Version:         
 Severity:  normal            |   Resolution:  invalid
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by James Bennett <[EMAIL PROTECTED]>):

 Adrian, we do have `values` and `extra`, though, which provide the same
 feature.
 
 If someone can replicate this behavior on current trunk by doing something
 like
 
 {{{
 Story.objects.values(fields=['pub_date', 'foo']).extra(select={'foo':
 'SELECT COUNT(*) FROM auth_users'})
 }}}
 
 this should probably be reopened.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/532>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to