toranb/ember-data-django-rest-adapter — pull request #4 by Bouke (2013-03-06 10:03:38+00:00)
Title: DRF uses HTTP 400 for unprocessable items

RESTAdapter expects HTTP 422 for invalid records and a JSON response with errors inside JSON root `errors`, however DRF uses 400 and errors without a JSON root.

Without this patch, trying to store objects will become erroneous (`isError`) instead of invalid (`!isValid`). The error state is a sink, so objects cannot recover from it.