aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/serializers.py
AgeCommit message (Collapse)Author
2012-11-22Remove unneeded and incorrect self referencejedavis83@gmail.com
2012-11-22More consistent iteration over default_fields, per feedback.jedavis83@gmail.com
2012-11-22Keep Serializer.fields API consistent while caching values.jedavis83@gmail.com
2012-11-20Cache all fields on serializer init, not just default fields.jedavis83@gmail.com
2012-11-20Merge pull request #433 from irrelative/masterTom Christie
Cache default_fields per serializer instance for faster serialization
2012-11-20Fix related serializers with source argument that resolves to a callableJamie Matthews
2012-11-19Cache default fields per serializer instance for improved performancejedavis83@gmail.com
2012-11-16Merge pull request #422 from markotibold/max_length_for_modelserializersTom Christie
Max length for modelserializers
2012-11-16Added URLField and SlugField.Marko Tibold
Fixed test_modelserializer_max_length_exceeded
2012-11-16Whoops … Drop pdbMarko Tibold
2012-11-16Fixes #421Marko Tibold
2012-11-15Merge commit '3b258d69c92e9d9293f7c5d1690f0ca434e677e3' into ↵Marko Tibold
file_and_image_fields
2012-11-14Processed review comments.Marko Tibold
No type checking in .restore_fields() Added missing BytesIO import.
2012-11-14fixed some typosStephan Groß
2012-11-13Added a FileField and an ImageField (copied from django.forms.fields).Marko Tibold
Adjusted generics, mixins and serializers to take a `files` arg where applicable.
2012-11-13Fix broken depth argumentTom Christie
2012-11-09Support for `read_only_fields` on `ModelSerializer` classesTom Christie
2012-11-08Comments updatedTomi Pajunen
2012-11-08Fixed creation of objects with reversed M2M relationsTomi Pajunen
2012-11-05Update rest_framework/serializers.pyToni
fixed AttributeError in case restore_object is overwritten without explicitly setting self.m2m_data
2012-11-05Drop unneccesarily lenient dictionary-containing-instances serialization.Tom Christie
2012-11-05`queryset` argument is now optional on writable model fields.Tom Christie
2012-11-05Tidy up serializer fields now we no longer use dynamic fieldsTom Christie
2012-11-05Add note on * importTom Christie
2012-11-05Swap position of `instance` and `data` keyword arguments.Tom Christie
2012-10-30Merge fixes for 'blank=True' fields. Fixes #324, Fixes #325Tom Christie
Thanks to @Roarster.
2012-10-30Merge pull request #336 from markotibold/null_is_true_model_fieldsTom Christie
Null is true model fields
2012-10-30Fix some typos.Marko Tibold
2012-10-30Set a ModelSerializer field to required=False if the ModelField has ↵Marko Tibold
null=True set.
2012-10-28Remove recursion detectionTom Christie
2012-10-28nested -> depthTom Christie
2012-10-27pep8Tom Christie
2012-10-26Fix failing 'default' on ModelSerializerTom Christie
2012-10-26Choice fields from ModelSerializer.Tom Christie
2012-10-24Fix ModelSerializer logic for fields with default value, which should have ↵Tom Christie
required=False set
2012-10-24Move per-field and cross-field validation into a single methodJamie Matthews
2012-10-24Clean up internal names and documentationJamie Matthews
2012-10-24Add cross-field validate methodJamie Matthews
2012-10-24Switch from clean_<fieldname> to validate_<fieldname>, clarify documentationJamie Matthews
2012-10-24Implement per-field validation on SerializersJamie Matthews
2012-10-22Fix serialization of reverse relationshipsJamie Matthews
2012-10-17Make default field check safe for boolean values whereby 'False' may be an ↵Rob Dobson
acceptable default value
2012-10-15Added docs, integer fields and refactored models.TextField to use CharFieldJens Alm
I realized that per the django forms, there is no need for a separate TextField, an unlimited CharField is perfectly good. Also added default field for the different IntegerField types
2012-10-15Added tests for TextFieldJens Alm
2012-10-15Added TextField to recognized fieldsJens Alm
2012-10-10Don't fail when no data providedTom Christie
2012-10-09Add 'to_many' flag in get_related_fieldTom Christie
2012-10-09Add flag in get_related_fieldTom Christie
2012-10-08Fix issue where required fields were not being properly validated. Also ↵Tom Christie
make model fields with a default value be not required
2012-10-08Fix #285Tom Christie