#26650: output_field key-word arg not respected in model query API
-------------------------------------+-------------------------------------
     Reporter:  freshquiz            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  output_field         |             Triage Stage:
  expression query annotate          |  Unreviewed
  aggregate                          |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by freshquiz):

 My suggestion would be to use the implementation of `Cast()` everywhere
 that `output_field` is used and to get rid of `Cast()` from the public
 API.

 I.e. Why does `Cast()` have to be restricted to SQL functions?

--
Ticket URL: <https://code.djangoproject.com/ticket/26650#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 [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/067.8bfea6818ff7c0dd0d6a043a895bc262%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to