#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):
Thank you, I was not aware of the feature.
`Cast()` does address my issue.
So it appears that instead of respecting `output_field` as I proposed in
the description of this ticket, the implementation has just tacked on more
API, rather than refactoring the implementation of the existing API.
If the core devs are happy travelling down this path, I guess this ticket
has nothing further to offer and hence can be closed.
--
Ticket URL: <https://code.djangoproject.com/ticket/26650#comment:2>
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.a8386b75dd5c3c42879b2832ac7c4fc2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.