Django : How to capture the Model.DoesNotExist exception in Django rest framework?

Published --