Starting from version 1.7, Django supports new API for validators and errors.
https://docs.djangoproject.com/en/1.8/ref/forms/validation/#raising-validationerror https://docs.djangoproject.com/en/1.8/ref/forms/api/#django.forms.Form.errors.as_json Client side developers could have a lot of benefits from error responses with error codes. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.