The problem with ModelForm is translating validation to something
front-end, like jquery Validator. Here, DRF does better, because swagger
spec includes something like jsonschema (neither are a standard as I used
to know them, in the WSDL/SOAP days), and so you can use jsonschema
validation to
Speaking of Rails AJAX forms. It's quite trivial to submit Django ModelForm
in Javascript AJAX request. It's a bit harder to have the customizable
success action and to display the field validation errors via AJAX response.
I implemented AJAX viewmodels for that: