title: Django Rest Framework Database Error Exception Handling
body: <p>Is there any way to have Django Rest Framework automatically respond with <code>HTTP_400_STATUS</code>'s when there are database exceptions? </p>
  
  <p>(<code>IntegrityError</code> and so on)</p>
  
  <p>Example: I have a model with a unique username field and I'm trying to use a generic <code>rest_framework.ListCreateAPIView</code>. <code>HTTP_400_STATUS</code>'s are normally thrown automatically if serializer validation fails but this is actually valid input, just not valid in the db. What should I do here?</p>