On 2012-04-23, at 14:44 , psychok7 wrote:
> i am using Chrome.
>
> to be honest i dont really understand everything you are talking about, so
> ill just try to run your code and see if i can get results
> on the other hand if i use GET instead of POST i dont have to worry about
> CSRF
> right
i am using Chrome.
to be honest i dont really understand everything you are talking about, so
ill just try to run your code and see if i can get results
on the other hand if i use GET instead of POST i dont have to worry about CSRF
right?
i am not sure you understood my question though, i am g
yes i did that now, and still doesnt work.. it still returns false and
doesnt print the line after request.is_ajax()
On Monday, April 23, 2012 4:36:06 AM UTC+1, Amao wrote:
>
> dear psychok7:
> You have no data from your ajax post, you should post some data with
> your ajax post, like this
dear psychok7:
You have no data from your ajax post, you should post some data with
your ajax post, like this
$.post("api/newdoc/", {'user':'your username'}, function(data) {
alert(data);
});
}
在 2012年4月23日星期一,psychok7 写道:
> hi there i am trying a simple example using AJAX, DJANGO
4 matches
Mail list logo