I don't get it. Why exactly are you passing around json? Your usage doesn't
warrant it, and it looks like it is causing you problems. Why not send it
like regular x-www-form-urlencoded?
On Friday, July 25, 2014 1:17:11 AM UTC-7, Yebach wrote:
>
> Found the problem
>
> The error was the second ca
Found the problem
The error was the second call for json object when I got an error in
console, so I went to check the error folder in app. Looks like I have a
date parse problems.
2014-07-25 10:08 GMT+02:00 Manuele Pesenti :
> Il 25/07/14 09:22, Yebach ha scritto:
>
> expected string or buff
Il 25/07/14 09:22, Yebach ha scritto:
>
>
> expected string or buffer
>
> in line data_dict = json.loads(data)
>
> WHY?? why does insert or smth crashes it on line before it is
> executed???
can you paste a print of your data variable value just before the code
crashes?
M.
--
R
Hello
OK can smbd. explains this S4!#T to me.
I am sending json string from my view to controller. in
request.vars['value'] there is a string /dict and for easier handling I
want to convert it to a dict.
Now this code works.
def saveAsFormData():
import json
#data = simplejson.loads(
4 matches
Mail list logo