Changed the (internal) way extra(select=.., select_params=...) handling is done
commitded048778c306df37a218f0716b9d762621473f6
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 17 Aug 2008 20:07:59 +0000 (17 20:07 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 17 Aug 2008 20:07:59 +0000 (17 20:07 +0000)
tree1f3f1484c5c60178d8d601e93c17f052b333ea58
parent465ef100b32f3c18d39343d9831a9669a0794ec1
Changed the (internal) way extra(select=.., select_params=...) handling is done
so that parameters stay with their select items. This means that merging and
trimming of those items is handled correctly.

Refs #7957, #7961. Fixed #8191.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/db/models/sql/query.py
docs/db-api.txt
tests/regressiontests/extra_regress/models.py