#7961: Removing select statements added through extra() does not remove the
corresponding select_params
----------------------------------+-----------------------------------------
Reporter: mullendr | Owner: mullendr
Status: new | Milestone: 1.0 beta
Component: Uncategorized | Version: SVN
Keywords: extra query queryset | Stage: Unreviewed
Has_patch: 1 |
----------------------------------+-----------------------------------------
related to: #7957
if you add a (using extra()) a select statement with key 'foo' and a
corresponding parameter 'bar' and then use
filter(id='1').values_list('id')
the query to the database will use 'bar', '1' as parameters instead of
just '1'. This results in either the wrong data returned or nothing
returned.
--
Ticket URL: <http://code.djangoproject.com/ticket/7961>
Django Code <http://code.djangoproject.com/>
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?hl=en
-~----------~----~----~----~------~----~------~--~---