tomchristie/django-rest-framework — pull request #585 by steve-gregory (2013-01-15 20:51:58+00:00)
Title: Added test cases for the Serializer field SlugRelatedField and Nullable FKs 

Added a new file 'relations_slug.py' that tests Nullable Foreign Keys and the SlugRelatedField.

Comments are included showing where the code fails and what the expected results should be. The logic may be off on 'default' but I tried to keep my expected results consistent with what was written in the documentation/tutorial on the website.