#32231: It should be possible to pass None as params for Model.objects.raw
-------------------------------------+-------------------------------------
     Reporter:  Alexander Lyabah     |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  raw, psycopg2,       |             Triage Stage:  Accepted
  execute, orm, db                   |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * version:  2.2 => master
 * stage:  Unreviewed => Accepted


Comment:

 To amend what I said above, `cursor` works fine, it's only `raw` that
 doesn't so the documentation divergence seems moot.

 Allowing `params=None` to be explicitly specified to opt-in this behaviour
 like the reporter suggested seems like an acceptable compromise.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32231#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.ad195afd1fce0862dd92f2856bf532fe%40djangoproject.com.

Reply via email to