tomchristie/django-rest-framework — pull request #2325 by mark0978 (2014-12-19 16:59:54+00:00)
Title: Don't try to iterate Nonetype objects when serializing

Added test for serializing None in a many=True situation.

Current 2.4.x code crashes if you try to serialize a model.objects.none() with many=True. This corrects that and provides a test that fails with the existing code and passes with this PR.