tomchristie/django-rest-framework — pull request #1362 by steffann (2014-01-17 17:04:56+00:00)
Title: Fix non-JSON output from JSONRenderer

The render method of JSONRenderer returns b'' when the input is None, but that is not valid JSON. If the check at the beginning of the render method is removed it will (IMHO correctly) return b'null'.