summaryrefslogtreecommitdiff
path: root/tests/serializers/models.py
AgeCommit message (Collapse)Author
2015-09-26Made tests/serializers/models.py a models packageClaude Paroz
Thanks Tim Graham for the patch series review.
2015-09-26Moved remaining of serializers_regress to serializers testsClaude Paroz
2015-09-26Moved more serializers_regress to serializers testsClaude Paroz
2015-09-26Separated natural key serialization testsClaude Paroz
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-07-14Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson
The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
2015-04-09Fixed #19820 -- Added more helpful error messages to Python deserializer.Richard Eames
2015-02-20Update converters to take a consistent set of parameters.Marc Tamlyn
As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions.
2015-01-08Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen
Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument.
2014-09-24Removed numbering from the models.py header of some test packages.Loic Bistuer
This is a reliqua from the early days of the modeltests/regressiontests era.
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.
2013-12-06Added missing deconstruct() methods.Baptiste Mispelon
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner