summaryrefslogtreecommitdiff
path: root/docs/modpython.txt
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-04-24 16:07:07 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-04-24 16:07:07 +0000
commit8a4e1de8b0573ce4330f7690fe5e9d786265e237 (patch)
tree9c1e239511705477e67a422131f7e25dfc1b57bc /docs/modpython.txt
parentdd0c5855e9dc0c88f99c004db544c34eb67cf499 (diff)
queryset-refactor: Changed the way order_by() and distinct() interact.
When using "select distinct" all ordering columns must be part of the output (select) columns. We were previously just throwing away ordering columns that weren't included, but there are some cases where they are needed and it's difficult to add them in manually. So now the default behaviour is to append any missing columns. This can affect the output of distinct() if complicated order_by() constructs are used, so the documentation has been updated with an explanation of what's going on there. Fixed #7070. git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/modpython.txt')
0 files changed, 0 insertions, 0 deletions