summaryrefslogtreecommitdiff
path: root/tests/from_db_value/tests.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2015-06-17Refs #9619 -- Fixed failing test caseMarkus Holtermann
Regression introduced in 9aac99e96d100b34b6daa3a137531eff4f17076e
2015-06-17Refs #9619 -- Added a test that Field.from_db_value() is called on ↵JensDiemer
QuerySet.values()
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-09-03Fixed #18757, #14462, #21565 -- Reworked database-python type conversionsMarc Tamlyn
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.