toranb/ember-data-django-rest-adapter — pull request #88 by chripede (2014-06-26 11:03:05+00:00)
Title: Set errors on model

This makes it possible to handle server side errors on the client side.

Function was copied from the ActiveModelAdapter (https://github.com/emberjs/data/blob/v1.0.0-beta.8/packages/activemodel-adapter/lib/system/active_model_adapter.js#L102) and modified to work with DRF.