Code

Changes between Version 9 and Version 10 of QuerysetRefactorBranch


Ignore:
Timestamp:
03/21/08 07:39:57 (6 years ago)
Author:
mtredinnick
Comment:

Try a different spelling of "argument".

Legend:

Unmodified
Added
Removed
Modified
  • QuerysetRefactorBranch

    v9 v10  
    5353qs.extra(select={'a': ...}, order_by=('a',))   # New style 
    5454   }}} 
    55  * Still on {{{extra(select=...)}}}... if you want to substitute parameters into these extra selection columns, use the {{{select_params}}} argument to {{{extra()}}}. The {{{params}}} arumgent is only applied to the extra where conditions. 
     55 * Still on {{{extra(select=...)}}}... if you want to substitute parameters into these extra selection columns, use the {{{select_params}}} argument to {{{extra()}}}. The {{{params}}} argument is only applied to the extra where conditions. 
    5656 * {{{select_related(False)}}} is no longer possible. Don't worry. You didn't know this existed, so you won't miss it. It was never part of the official API. 
    5757 * There is a slight difference between these two filter statements