django-quicky icon indicating copy to clipboard operation
django-quicky copied to clipboard

When a form instance is returned from a view, it should return JSON

Open sametmax opened this issue 12 years ago • 1 comments

Returning a form should be intercepted, and it should automatically return JSON with weither the form is valid or not, and errors.

If the form is unbound, it should raise an error

sametmax avatar Nov 23 '12 02:11 sametmax

Exemple of form to json serialisation: http://stackoverflow.com/questions/986406/returning-pure-django-form-errors-in-json

sametmax avatar Nov 23 '12 02:11 sametmax