David Reynolds

Welcome to boredom

Django Builtin Serializer Doesn't Work With form.errors

| Comments

Thought I’d right a quick note in case anyone else came across this problem. In trying to serialize the output of form.errors, I come across this error:

1
django.utils.functional.__proxy__ object at 0xb76b520c is not JSON serializable</pre>

After lots of debugging help by FunkyBob, empty pointed out a replacement serializer that seems to work much better.

Comments