aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/serializer.py
AgeCommit message (Collapse)Author
2012-08-23Merge pull request #181 from flashingpumpkin/masterTom Christie
Maintain a reference to the parent/root serializer
2012-08-13Don't ever return the normal serializer again.Alen Mujezinovic
2012-06-28Don't bork if request attribute is not set.Tom Christie
2012-06-26Pass request to related serializersSean C. Farley
Related serializers may need access to the request to properly serialize a child resource. For example, reverse() in djangorestframework.reverse uses request if available to return an absolute URL. While the parent resource has access to the request to generate the absolute URL, the child resource does not.
2012-05-22Allow RawQuerySet serializationMax Arnold
2012-03-01Whoops. Adding the .parent attribute to the Serializer class brokeAlen Mujezinovic
getattr(self,'parent',self). This fixes it.
2012-03-01Added a .parent attribute to the Serializer object for documentationAlen Mujezinovic
purposes
2012-03-01Maintain a reference to the parent serializer when descending down into fieldsAlen Mujezinovic
2012-02-23Fix for #178.Shawn Lewis
Related serializers passed in via include now work as expected.
2012-02-21Gotta love dynamic languagesTom Christie
2012-01-21pep8/pyflakes cleanupTom Christie
2012-01-10fixed issue#73 and added a testSébastien Piquemal
2012-01-09Make a nested if flatEwoud Kohl van Wijngaarden
This is a possible fix for issue #73. The problem occurs when the first if-statement is true, but the second is not. This results into the variable obj not being set. This commit solves it by removing that branch.
2011-12-29whitespace fixesTom Christie
2011-12-13fix for unhandled _SkipField exception in Serializer.serialize_modelMarco Westerhof
2011-09-29Make sure to check for "is not None" so that depth=0 gets assigned properly. ↵Tom Christie
Thanks thomasst.
2011-07-06fixed a bug in serializersSébastien Piquemal
2011-07-04debugged serializersSébastien Piquemal
2011-07-01Fix bitbucket issue 39. All further issues should be on githubTom Christie
2011-06-21Decimals are a protected_type - let's leave them up to the renderer to deal withTom Christie
2011-06-15Allow related models to be fully serializedTom Christie
2011-06-14Support for nesting resources etc...Tom Christie
--HG-- rename : djangorestframework/tests/resources.py => djangorestframework/tests/serializer.py