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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
authentication.md | Loading commit data... | |
content-negotiation.md | Loading commit data... | |
exceptions.md | Loading commit data... | |
fields.md | Loading commit data... | |
filtering.md | Loading commit data... | |
format-suffixes.md | Loading commit data... | |
generic-views.md | Loading commit data... | |
metadata.md | Loading commit data... | |
pagination.md | Loading commit data... | |
parsers.md | Loading commit data... | |
permissions.md | Loading commit data... | |
relations.md | Loading commit data... | |
renderers.md | Loading commit data... | |
requests.md | Loading commit data... | |
responses.md | Loading commit data... | |
reverse.md | Loading commit data... | |
routers.md | Loading commit data... | |
serializers.md | Loading commit data... | |
settings.md | Loading commit data... | |
status-codes.md | Loading commit data... | |
testing.md | Loading commit data... | |
throttling.md | Loading commit data... | |
validators.md | Loading commit data... | |
views.md | Loading commit data... | |
viewsets.md | Loading commit data... |