aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/serializers.py
AgeCommit message (Collapse)Author
2013-03-25Bulk update, allow_add_remove flagTom Christie
2013-03-22Defer the writable nested modelserializers workTom Christie
2013-03-22Merge masterTom Christie
2013-03-22Bit of extra tidying and plenty of docsTom Christie
2013-03-22Add extra tests for errors from incorrect data with multiple create/updateTom Christie
2013-03-19Basic bulk create and bulk updateTom Christie
2013-03-18use writablefield style for serializer handling of self.defaultCraig de Stigter
2013-03-18allow default values in writable serializer fieldsCraig de Stigter
2013-03-18accept all WritableField kwargs for writable serializers (eg required=True)Craig de Stigter
2013-03-16Fixes to save_objectTom Christie
2013-03-16Fixes to save_objectTom Christie
2013-03-16Clean up and comment `restore_object`Tom Christie
2013-03-15Remove unneeded arguments to save_objectTom Christie
2013-03-15Remove erronous _delete attributeTom Christie
2013-03-15Clean out ModelSerializer special casing from Serializer.field_from_nativeTom Christie
2013-03-15one 2 one nested relationshipsTom Christie
2013-03-14One-to-one writable, nested serializer supportMark Aaron Shirley
2013-03-13force_insert, force_update arguments. Closes #484.Tom Christie
Confirmed by `assertNumQueries(…)` in tests.
2013-03-12Descriptive text for NestedValidationErrorTom Christie
2013-03-12Initial support for writable nested serialization (Not ModelSerializer)Tom Christie
2013-03-11Simplify inherited child check to not use isinstanceMjumbe Wawatu Ukweli
2013-03-11Use parent's primary key when model is derived via multitable inheritanceMjumbe Wawatu Ukweli
2013-03-09Serializers support bulk create.Tom Christie
2013-03-08Py3k fixes.Tom Christie
2013-03-08Tweak implementation, and use FormSet style errorsTom Christie
2013-03-08Errors during deserializing lists now return a list of tuples withIan Dash
index of bad item in data plus usual errors dict
2013-02-28Move ModelSerializer field_mapping into an attribute for easier overriding.Tom Christie
2013-02-26Changed AttributeError to AssertionErrorDanilo Bargen
2013-02-25Show class name in exception messageDanilo Bargen
2013-02-25Improved exception message for missing serializer model meta optionDanilo Bargen
2013-02-22Fix and test for #645Tom Christie
Yuck, pickle is weird. Closes #645.
2013-02-22Fix and test case for #653Tom Christie
Closes #653
2013-02-22Tests and fix for #666.Tom Christie
Closes #666.
2013-02-14Added a serializer TimeFieldAndreas Pelme
2013-02-14Drop accidental (uneeded) validation logic.Tom Christie
2013-02-12Remove deprecated APIs from testsTom Christie
2013-02-12Raise warnings on implicit many serializationTom Christie
2013-02-11Merge pull request #651 from fernandogrd/masterTom Christie
DictWithMetadata.__getstate__ was never called (Fix for 645)
2013-02-11Make use o issubclass instead of isinstance (fix issue #645)Fernando Rocha
Because __mro__ is a list of classes and not instances. DictWithMetadata.__getstate__ was never called Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-02-07Allow serializers to handle dicts as well as objects. Fixes #447.Tom Christie
2013-02-07Use new style of `required=<bool>` not `blank` or `null`Tom Christie
2013-02-07Use new many=True relations style.Tom Christie
2013-02-06Don't deprecate 'exclude'Tom Christie
Need to track outcome of Django's #19733, and decide on approach accordingly.
2013-02-04Fix 2.6 compatTom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-02-04Merge branch 'py3k' into 2.2Tom Christie
Conflicts: rest_framework/relations.py rest_framework/serializers.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_slug.py
2013-02-013.2, 3.3 compatTom Christie
2013-02-01Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into ↵Tom Christie
working Conflicts: rest_framework/authentication.py rest_framework/relations.py rest_framework/serializers.py rest_framework/settings.py rest_framework/tests/authentication.py rest_framework/tests/genericrelations.py rest_framework/tests/generics.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_nested.py rest_framework/tests/relations_pk.py rest_framework/tests/serializer.py
2013-01-31Serializers take `many=<bool>` argument.Tom Christie
2013-01-30TidyingTom Christie