kevin-brown/drf-json-api — pull request #6 by jwhitlock (2014-08-19 19:02:22+00:00)
Title: Parsing and rendering for more relation types

- Updated test/model.py Person with additional relations `favorite_post` (nullable ForeignKey) and liked_comments (forward ManyToMany relation)
- Add test serializers, views for "Maximal Person" with new relations
- Handle null ForeignKey as HyperlinkedRelatedField and PrimaryKeyRelatedField with tests
- Handle ManyToManyField as PrimaryKeyRelatedField with tests

This is the same as PR #5, except it does not build on PR #4 (JSON API PUT semantics)