Django: IE doesn't load localhost or loads very SLOWLY

后端 未结 5 2096
迷失自我
迷失自我 2021-01-12 03:40

I\'m just starting to learn Django, building a project on my computer, running Windows 7 64-bit, Python 2.7, Django 1.3.

Basically whatever I write, it loads in Chro

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-12 04:01

    It might be related to this issue: https://code.djangoproject.com/ticket/16099

    Essentially, the dev server isn't multithreaded, and if the browser opens a connection and then tries a second connection to actually get the data, it can hang forever.

    Edit:

    Also, see this issue: https://code.djangoproject.com/ticket/15178

    If you can provide a way to reproduce the issue, we may be able to find a fix.

    Also, if you could try the latest development version and see if that fixes it, we recently committed a new patch that adds multithreading capability to the runserver command.

提交回复
热议问题