#18757: Examine ways to get rid of DB backend convert_values() -------------------------------------+------------------------------------- Reporter: akaariai | Owner: mjtamlyn Type: | Status: closed Cleanup/optimization | Version: master Component: Database layer | Resolution: fixed (models, ORM) | Triage Stage: Accepted Severity: Normal | Needs documentation: 0 Keywords: | Patch needs improvement: 1 Has patch: 1 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by Marc Tamlyn <marc.tamlyn@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"e9103402c0fa873aea58a6a11dba510cd308cb84"]: {{{ #!CommitTicketReference repository="" revision="e9103402c0fa873aea58a6a11dba510cd308cb84" Fixed #18757, #14462, #21565 -- Reworked database-python type conversions Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/18757#comment:5> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.733e27d207ae8d05260ccbab004f5396%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.