开发者

GAE+Django server getting called twice for every request

I am running a GAE server with django (locally on my dev machine). The view corresponding to every requests is getting called开发者_开发技巧 twice. any idea on how to orrect this.

I am using firefox 3.6.8 on ubuntu 9.10 for this.

the following is the debug output ->

http://pastebin.com/4CetCK5J


Take a look at the last line:

INFO     2010-08-05 04:18:17,518 dev_appserver.py:3268] "GET /register/static/images/site-icon.png HTTP/1.1" 200 -

It looks to me like you've got a broken URI in your HTML, which is causing your browser to try and fetch an image from the wrong URL, loading your (perhaps overly permissive) handler instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜