| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
Maintain a reference to the parent/root serializer
|
|
Allow views to specify what template to use
|
|
Modify 415 error content
|
|
add View.head() method at runtime (issue #228)
|
|
|
|
|
|
|
|
|
|
|
|
attribute 'get')
|
|
|
|
its error in the 'detail' key instead of in the 'error' key (for consistency with all other errors).
|
|
the client (i.e. jQuery) is sending an XMLHttpRequest
|
|
|
|
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.
|
|
Small patch to allow RawQuerySet serialization
|
|
|
|
|
|
|
|
getattr(self,'parent',self). This fixes it.
|
|
purposes
|
|
|
|
Related serializers passed in via include now work as expected.
|
|
This failing test shows that the serializer implementation breaks when a
related serializer is passed in via include rather than via fields.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|