My form contains date of birth and total income field. I am getting
following errors:

datetime.date is not json serializable
decimal is not json serializable.



On Jan 21, 11:06 am, Prashanth <munichli...@gmail.com> wrote:
> Hi,
>
> On Thu, Jan 21, 2010 at 10:53 AM, Meenu <meenakshi84.ar...@gmail.com> wrote:
>
> > I've noticed that my form submission seems to randomly fail on the
> > line var response_obj = eval('(' + o.responseText + ')'); in my
> > javascript. My form contains date and decimal fields.
>
> Pretty hard to figure out just with the javascript line though eval
> looks fine, print the response that you are getting from django and
> try to debug or if you want people to point out do a pastebin of your
> view and response that you are doing in the javascript.
>
> --
> regards,
> Prashanth
> twitter: munichlinux
> blog: prashanthblog.appspot.com
> irc: munichlinux, JSLint, munichpython.
-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to