thanks for Denis' suggestion, I can see errors now. looks like there
is an AttributeError. here is the error information:
###
AttributeError at /run_DHM
'dict' object has no attribute 'status_code'
Request Method: GET
Request URL:http://127.0.0.1:8000/
I will try it
在 2011年12月16日 上午12:25,Denis Darii 写道:
> You can view your js errors by pressing CTRL+SWIFT+J in Firefox but i
> highly recommend you to install Firebug addon which allow you to view also
> the received data from your ajax request.
>
>
> On Fri, Dec 16, 2011
ok": true}
>
> And then change this line in the JavaScript:
>
> if (data == 'OK') {
>
> to:
>
> if (data.ok) {
>
> I think it should work with those changes. If it doesn't, try checking the
> JavaScript console in your browser for any errors.
&g
rl displayDHM %}';
> } else {
> alert(data);
> }
> });
> });
>
>
>
> Please wait.
>
>
>
> I've also added a bit more to the
Hi,
Does anyone can help?
Here are all contents in my files, I tried variable ways, but when I
submit a form, it only return the please_wait page and then stay there
forever. There is no redirect happened.
Since I want to check if it works first, there is no actual
calculation in the code.
##
Hi all,
I have the problem for constructing waiting page using Django + ajax.
I followed instructions mentioned in the following link,
http://groups.google.com/group/django-users/browse_thread/thread/c1b0d916bbf86868.
However, when I run my program, it stops in http://127.0.0.1:8000/please_wait
an
6 matches
Mail list logo