Claudiu
Claudiu

Reputation: 229361

django: why does accessing a page from web browser freeze the server?

I've made a django app, running it w/ the built-in server for now (just for testing). I have programs which access urls multiple times per second on the app without any issues. However, when I view an admin page, or one of those URLs that the program visits, in a web browser, the server freezes for many seconds. Why might this be the case, and how can I prevent it?

Upvotes: 2

Views: 404

Answers (2)

bmihelac
bmihelac

Reputation: 6323

If you are using chrome, this could be a known issue that is fixed today in trunk by jezdez:

https://code.djangoproject.com/changeset/16427

Upvotes: 1

Pwnna
Pwnna

Reputation: 9538

The Django development server only does 1 request at a time. I believe that's why you have the issue.

Upvotes: 2

Related Questions