> ...it seems like runserver is single threaded, so the second request just > hangs... ...Is there any way to make the dev server multi-threaded?
I've worked around a similar situation by specifying the 'base' url for my second process in a settings file. In production, the base url is the same, but in development, I specify the 127 localhost IP with a *different* port number than the usual 8000 (say, 8010). Then I open up a second terminal window and run the "python ./manage.py runserver 127.0.0.1:8010" command, and my app processes fine. -Birkin On Nov 16, 12:11 am, Chris <[EMAIL PROTECTED]> wrote: > I'm trying to write a basic Ajax app, which submits a file in one long- > running request, and periodically polls the status in another request. > However, it seems like runserver is single threaded, so the second > request just hangs until the file upload completes, preventing the > status update. Is there any way to make the dev server multi-threaded? > > Thanks, > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---