tomchristie/django-rest-framework — pull request #365 by osiloke (2012-11-04 18:29:37+00:00)
Title: Rare case where rel attribute of model field is None and DRF tries to return rel.to

Just a tiny change (no biggie at all) to fail if the rel.to value is none in DRF2's default ModelField.