#7302: Missed quoting in SQL ordering fragment
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Milestone: 1.0
Component: Database wrapper | Version: SVN
Resolution: | Keywords: sqlite, db, wrapper
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Changes (by mtredinnick):
* summary: Bug in the query statement => Missed quoting in SQL ordering
fragment
Comment:
This is a bug, but not for the reasons you claim (we aren't going to fix
bugs that just exist for that old-style ordering, since it is bug-for-bug
compatible with old code at the moment and the way to fix those bugs is
not to use it). It's a bug because it bites users of `extra_order_by`.
So we need a test that exercises the bug using `extra_order_by`, probably
by creating a model with a field called `order` and including that model's
table in an `extra()` block. Then we can look at including it.
In future, however, please do not reopen tickets that have been closed by
core developers. We have a process for what to do if you don't like the
closure.
--
Ticket URL: <http://code.djangoproject.com/ticket/7302#comment:14>
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
-~----------~----~----~----~------~----~------~--~---