Re: Multithreaded development server

2009-01-28 Thread Almad
On 28 Led, 15:20, Ned Batchelder wrote: > Almad, you've pointed to ticket 10117 a few times now, but I don't see > how this has anything to do with a single-threaded server.  I think if > you could clarify that point, maybe we'd be able to make some progress > on this.

Re: Multithreaded development server

2009-01-28 Thread Ned Batchelder
Almad, you've pointed to ticket 10117 a few times now, but I don't see how this has anything to do with a single-threaded server. I think if you could clarify that point, maybe we'd be able to make some progress on this. The core devs are not going to change their mind about multi-threading

Re: Multithreaded development server

2009-01-28 Thread Almad
On 28 Led, 06:01, Malcolm Tredinnick wrote: > On Tue, 2009-01-27 at 06:21 -0800, Almad wrote: > > On Jan 26, 1:19 am, Russell Keith-Magee > > wrote: > Perhaps you could show some simplified example code? I have at least a > few dozen tests that

Re: Multithreaded development server

2009-01-28 Thread Almad
On 28 Led, 01:25, Russell Keith-Magee wrote: > On Tue, Jan 27, 2009 at 11:21 PM, Almad wrote: > Sorry, but my stress-induced fibritis can only take so much. As a > hint, if you ever find yourself in a position where you need to > apologize at the end of

Re: Multithreaded development server

2009-01-27 Thread Malcolm Tredinnick
On Tue, 2009-01-27 at 06:21 -0800, Almad wrote: > On Jan 26, 1:19 am, Russell Keith-Magee > wrote: > > On Sun, Jan 25, 2009 at 10:45 PM,Almad wrote: > > > I still feel kinda weird that I must hack around Django so much to > > > make basic testing things

Re: Multithreaded development server

2009-01-27 Thread Russell Keith-Magee
On Tue, Jan 27, 2009 at 11:21 PM, Almad wrote: > > P.S.: Sorry for the sarcastic tone of my e-mail. I appreciate Your > work as well as Django framework (or at least some parts of it), but I > just don't get it: for each and every project I've written in Django, > I banged my

Re: Multithreaded development server

2009-01-27 Thread Almad
On Jan 27, 3:21 pm, Almad wrote: > On Jan 26, 1:19 am, Russell Keith-Magee > wrote: > i guess PHP users are our target group. Sorry, that was too bitter, unneccessary, offensive and intended to be removed by my self-censoring filter. Almad

Re: Multithreaded development server

2009-01-27 Thread Almad
On Jan 26, 1:19 am, Russell Keith-Magee wrote: > On Sun, Jan 25, 2009 at 10:45 PM,Almad wrote: > > I still feel kinda weird that I must hack around Django so much to > > make basic testing things working :-]]] > > Let's be clear here - the "basic testing"

Re: Multithreaded development server

2009-01-27 Thread Almad
On Jan 26, 6:21 pm, birkin wrote: > On Jan 24, 7:08 pm,Almad wrote: > > A very simple solution in > this edge-case of mine is to simply start up an additional terminal > window and execute the runserver command again Don't You have a race condition where

Re: Multithreaded development server

2009-01-26 Thread birkin
On Jan 24, 7:08 pm, Almad wrote: > is there a way to run development server multithreaded, so it can > handle recurring requests? I have a view that calls a django web-service which would normally hang the single-threaded development server (when I'm also serving out the

Re: Multithreaded development server

2009-01-25 Thread Russell Keith-Magee
On Sun, Jan 25, 2009 at 10:45 PM, Almad wrote: > > For those interested, patch from #3357 works nicely and can be started > from within: > http://devel.almad.net/trac/django-sane-testing/changeset/d2c24247d7e4 > > However, it's still buggy for my case. If You want it too, You

Re: Multithreaded development server

2009-01-25 Thread Almad
For those interested, patch from #3357 works nicely and can be started from within: http://devel.almad.net/trac/django-sane-testing/changeset/d2c24247d7e4 However, it's still buggy for my case. If You want it too, You can use CP WSGI as suggested by mikeal some time ago, I'm now using it too:

Re: Multithreaded development server

2009-01-25 Thread Almad
Thanks for the responses. My probem is that single-threaded server makes django untestable even under simple conditions (like, using urllib2 with digest authentication). I'd love to use CherryPy as I'm using it for some applications anyway, but I'm now trying to develop library that would allow

Re: Multithreaded development server

2009-01-24 Thread Graham Dumpleton
On Jan 25, 11:08 am, Almad wrote: > Hello, > > is there a way to run development server multithreaded, so it can > handle recurring requests? Just use Apache/mod_wsgi instead as described in: http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html Use

Re: Multithreaded development server

2009-01-24 Thread John M
Some threads on here have used CherryPy's django Plug-in and it's a full server too. You only need to account for Admin files via some well know workings. J On Jan 24, 4:08 pm, Almad wrote: > Hello, > > is there a way to run development server multithreaded, so it can > handle

Re: Multithreaded development server

2009-01-24 Thread Chris
On Jan 24, 7:08 pm, Almad wrote: > Hello, > > is there a way to run development server multithreaded, so it can > handle recurring requests? > > Thanks, > > Almad Yes, there's a patch attached to http://code.djangoproject.com/ticket/3357 that will enable multi-threading in the

Multithreaded development server

2009-01-24 Thread Almad
Hello, is there a way to run development server multithreaded, so it can handle recurring requests? Thanks, Almad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send