kevin-brown/drf-json-api — pull request #15 by jwhitlock (2014-10-17 19:03:39+00:00)
Title: Handle non-field errors from Django

Django uses django.core.exceptions.NON_FIELD_ERRORS or "__all__" for identifying non-field errors. This is returned when a ValidationError is raised in the model's clean method, or if a unique_together constraint fails.

After this change, these errors appear as path "/-" rather than path "/__all__"