django-rest-framework/docs/api-guide
Brian Jacobel 2d470eef80 Change serializers.Field to serializers.ReadOnlyField for 3.x compatibility
Using this code snippet as-is on DRF 3.0.1 results in a NotImplementedError
being raised for to_representation due to 3.0's changed behavior with
serializers.Field. The code snippet should be updated to use
serializers.ReadOnlyField instead.

Further discussion here:
https://groups.google.com/forum/?fromgroups=#!topic/django-rest-framework/aX8mLT_v3yc
2014-12-13 14:47:11 -05:00
..
authentication.md
content-negotiation.md
exceptions.md
fields.md
filtering.md
format-suffixes.md
generic-views.md
metadata.md
pagination.md Change serializers.Field to serializers.ReadOnlyField for 3.x compatibility 2014-12-13 14:47:11 -05:00
parsers.md
permissions.md
relations.md
renderers.md
requests.md
responses.md
reverse.md
routers.md
serializers.md
settings.md
status-codes.md
testing.md
throttling.md
validators.md
views.md
viewsets.md