tomchristie/django-rest-framework — pull request #907 by avsd (2013-06-04 09:16:40+00:00)
Title: Customizable exception handler

Please take a look.

I did not touch docs yet. Also, in Python 3 there is some weird test failure caused by catch_warnings()

Main ideas:

1. Depreciate returning Response with status_code >= 400. Exception should be raised instead;
2. Make exception handler customizable via settings