tomchristie/django-rest-framework — pull request #92 by mwesterhof (2011-12-13 10:23:55+00:00)
Title: Serializer.serialize_model fix

the serialize_model method uses the _SkipField exception to signify which fields should be skipped. This exception doesnt seem to signify an error at all, and is meant for control flow exclusively. In some cases this exception is raised outside of the try block, as it is in the previous version. This version expands the try block to include the entire section processing that field.