0

I am trying to handle all errors in my application before they occur, the validation errors appears through

serializer.is_valid()
serializer.errors

I am going through rest framework serializer code base right now to find all errors, but I feel its a bit inefficient, are there any references for common errors in serializer validation?

Kevin
  • 2,187
  • 4
  • 26
  • 35
  • If you are working with a serializer based on a model, you will get errors based on the model's field, such us required field and datatypes. What is exactly your problem? – Gocht Aug 23 '15 at 05:15
  • possible duplicate of [Order of Serializer Validation in Django REST Framework](http://stackoverflow.com/questions/27591574/order-of-serializer-validation-in-django-rest-framework) – Kevin Brown-Silva Aug 24 '15 at 20:33

0 Answers0