Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes response rendering with empty context (#4495)
This commit allows `response.render` to be called when `response.rendered_context == {}`. This should be allowed, since if [the JSONRenderer, for example](https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/renderers.py#L85-L92) receives a `None` context, it sets it to an empty dictionary itself.
- Loading branch information