How to json serialize form errors in Django

This is really ugly and you will absolutely need it if you'd like to json serialize form errors in Django. Why? Because you'd like to reply »