Welcome to Boredom

Show entries from:

2010

2009

2008

2007

2006

2005

Django builtin serializer doesn't work with form.errors

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:

django.utils.functional.__proxy__ object at 0xb76b520c is not JSON serializable

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

Categories: Django

Posted on Thu 31st January 2008 by david

Comments