Adrian Holovaty wrote: > Graham and/or anybody else who wants multi-threading in the > development server, can you try this patch and see whether it solves > your problem?
I updated my Django trunk with the ThreadingMixIn patch and looking at a couple projects that have media served statically (for development). I think this is proof that it is multi-threaded. Notice how the original request shows up 2nd instead of first: Django version 0.96-pre, using settings 'innovate.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C. [22/Jan/2007 10:15:29] "GET /media/css/style.css HTTP/1.1" 200 6743 [22/Jan/2007 10:15:29] "GET / HTTP/1.1" 200 8014 [22/Jan/2007 10:15:29] "GET /media/css/print.css HTTP/1.1" 200 471 [22/Jan/2007 10:15:29] "GET /media/img/orcas_logo.gif HTTP/1.1" 200 4788 Also, I looked at the Firebug Net view to see how the 4 pieces are loaded. The threaded server shows the 4 pieces with the HTML overlapping the requests for CSS and image. Whereas the default Django never has complete overlap -- requests always finish after the previous one. (I'll attach the images in the next message since I'm in the Google Groups web form right now...) -Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
