tomchristie/django-rest-framework — pull request #356 by Roarster (2012-11-01 21:38:26+00:00)
Title: RelatedFields validation does not respect blank=True

If a model has a related field with blank=True specified (e.g. a OneToOneField) then the validation on the field will still fail if a blank value is passed for the field:

{
"related_field": null
}

I've attached a failing test to illustrate this.