aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/serializers.py
AgeCommit message (Collapse)Author
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
2013-01-30Merge branch 'master' into many-fieldsTom Christie
Conflicts: rest_framework/relations.py
2013-01-28Update rest_framework/serializers.pyAndrea de Marco
2013-01-28Ensure model field validation is performed for ModelSerializers with a ↵Tom Christie
custom restore_object method. Fixes #623.
2013-01-26Fix issues with custom pagination serializersTom Christie
2013-01-26Serializers should accept source='*' argument. Fixes #604.Tom Christie
(Test also incoming)
2013-01-23Improve validate_<fieldname> fixStephan Groß
2013-01-21Add possible solution for field validation errorStephan Groß
2013-01-18Revert accidental merge.Tom Christie
2013-01-16Use None to delete nested object as opposed to _delete flagMark Aaron Shirley
2013-01-16Move nested serializer logic into .field_from_native()Mark Aaron Shirley
2013-01-16Add one-to-one nested update and delete functionalityMark Aaron Shirley
2013-01-16Add nested create for 1to1 reverse relationshipsMark Aaron Shirley
2013-01-12PK fields should only be read-only if they are an AutoField. Fixes #563Tom Christie
2013-01-12auto_now and auto_now_add fields should be read only by defaultTom Christie
2013-01-08Merge remote-tracking branch 'upstream/master' into null-one-to-oneMark Aaron Shirley
2013-01-07Respect blank=True on relational fields. Fixes #537Tom Christie
2013-01-04Handle ObjectDoesNotExist exceptions when serializing null reverse one-to-oneMark Aaron Shirley
2013-01-04Validation errors instead of exceptions when serializers receive incorrect ↵Tom Christie
types. Fixes #402.
2013-01-03Drop unused private save_m2m flagTom Christie
2013-01-03Move the various compat things to the compat module.Xavier Ordoquy
2013-01-02Use new exception styleXavier Ordoquy
2013-01-02Merge remote-tracking branch 'reference/py3k' into p3kXavier Ordoquy
2012-12-31Don't persist relation changes in ModelSerializer#restore_object()Mark Aaron Shirley
2012-12-31Relation fields move into relations.pyTom Christie
2012-12-29Support reverse FK creationTom Christie
2012-12-29Merge pull request #515 from yprez/blank_fields_issueTom Christie
Fix for #514
2012-12-29Nested serializers now support nullable relationships, plus test. Fixes #384Tom Christie
2012-12-18Fix for pks returning as strings when set in pre_save. Fixes #482. Thanks ↵Tom Christie
to @n8agrin for the bug report.
2012-12-17Fix bug with M2M in browseable APITom Christie
2012-12-17blank=True fields are not required - fixes #514Yuri Prezument
2012-12-15ManyPrimaryKeyRelatedField now supports create for one-to-many reltoran billups
2012-12-15Fix model validation exclusions. Fixes #500. Fixes #506.Tom Christie
2012-12-14Ensure context is passed to dynamically added fields. Fixes #476.Tom Christie
2012-12-12Clean up field initialization. Fixes #497Tom Christie
2012-12-11Drop left over codeTom Christie
2012-12-11Fix broken nested fieldsTom Christie
2012-12-10get_excluded_fieldnames() should respect Meta options' ability to be either ↵Marko Tibold
a tuple or list. Fixes #490. Refactored `if self.opt.fields` out of the for loop. Updated and cleaned up the validation-tests.
2012-12-08Add null related field optionTom Christie
2012-12-07Support nullable FKs, with blank=TrueTom Christie
2012-12-07Merge pull request #451 from markotibold/#431Tom Christie
Call model's .full_clean() method, eg. to validate uniqueness
2012-12-07Fix AttributeError caused by accessing a non-existing default_keys attribute.Marko Tibold
2012-12-06Merge pull request #477 from roberts81/masterTom Christie
Fix for #460
2012-12-06Merge branch 'master' of ↵Marko Tibold
https://github.com/tomchristie/django-rest-framework into #431
2012-12-06cleaned up white space & docstring stylingBen Roberts