#10070: Named parameters not working on raw sql queries with sqlite
-------------------------------------+-------------------------------------
     Reporter:  Matias Surdi         |                    Owner:  Ryan
                                     |  Cheley
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Ryan Cheley):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In looking at the tests in `raw_query\tests` I see a few tests that
 already exist:

 - `test_params` (name refactored in [Fix camelCase test
 names](https://code.djangoproject.com/ticket/22909), added in [Add a
 method to the orm to create Model instances from raw sql
 queries](https://code.djangoproject.com/ticket/11863))
 - `test_params_none` (added [It should be possible to pass None as params
 for Model.objects.raw](https://code.djangoproject.com/ticket/32231))
 - `test_pyformat_params` (name refactored in [Fix camelCase test
 names](https://code.djangoproject.com/ticket/22909), added in [PR
 411](https://github.com/django/django/pull/411))

 These are already available and **appear** to be testing the very thing
 that the ticket is asking for.

 Charlie DeTar, is there anything that is being missed here?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/10070#comment:22>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070183f741553f-de547eec-5c10-42ea-ac30-2cfac374654f-000000%40eu-central-1.amazonses.com.

Reply via email to