Changes between Initial Version and Version 3 of Ticket #12222


Ignore:
Timestamp:
Nov 16, 2009, 7:03:51 AM (15 years ago)
Author:
Karen Tracey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12222

    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #12222 – Description

    initial v3  
    11I wish there were a way to do instead of this:
    22
    3 >>> MyModel.objects.values('otherfield__anotherjoinedfield__blah__derp__foo__doop')
     3{{{
     4#!python
     5MyModel.objects.values('otherfield__anotherjoinedfield__blah__derp__foo__doop')
    46{'otherfield__anotherjoinedfield__blah__derp__foo__doop': 4, 'otherfield__anotherjoinedfield__blah__derp__foo__doop': 5, [...]
    5 
     7}}}
    68you could do this:
    79
    8 >>> MyModel.objects.values(val='otherfield__anotherjoinedfield__blah__derp__foo__doop')
     10{{{
     11#!python MyModel.objects.values(val='otherfield__anotherjoinedfield__blah__derp__foo__doop')
    912{'val': 4, 'val': 5, [...]
     13}}}
Back to Top