2010/1/14 Meenu :
> Hello all,
>
> I'm following the "Serializing Django objects" documentation and have
> a view pretty much verbatim from the docs:
>
> if xhr:
> return HttpResponse(simplejson.dumps(form_data),
> mimetype='application/javascript')
>
> When I test the above view
You could always convert decimals to strings. There's probably a better
solution out there, but this should at least be a quick-fix.
Shawn--
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...@googlegr
Hello all,
I'm following the "Serializing Django objects" documentation and have
a view pretty much verbatim from the docs:
if xhr:
return HttpResponse(simplejson.dumps(form_data),
mimetype='application/javascript')
When I test the above view using the Django shell, it works,
3 matches
Mail list logo