#25092: Inconsistency in Query.__str__ and actual query
----------------------------------------------+--------------------
     Reporter:  coldmind                      |      Owner:  nobody
         Type:  Cleanup/optimization          |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  master
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  0
Easy pickings:  0                             |      UI/UX:  0
----------------------------------------------+--------------------
 Inspired by http://stackoverflow.com/a/31287932/2116126
 Different backends may quote or do something with params, so actual query
 diffs from the `Query.__str__`, which is inconsistent.
 I think Django should format params how backend actually do this to
 prevent confusion.

--
Ticket URL: <https://code.djangoproject.com/ticket/25092>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.db4aa2a45697d3068eed48060915e1ce%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to