Re: Using os.fork() in a Django view

2011-08-19 Thread Kevin
Thank you very much for your suggestions about using Celery. I'll definitely look into this one. Originally I was trying to avoid using os.fork(), but was unsure what to use. I will also look into the uWSGI information provided as well. Overall I would prefer to make the entire system modular,

Re: Using os.fork() in a Django view

2011-08-19 Thread Roberto De Ioris
Il giorno 19/ago/2011, alle ore 08:46, Kevin ha scritto: > Hello everyone, > > > Here's the code I will be needing to run in a os.fork(): > from django.core.management import setup_environ, call_command > import settings > setup_environ(settings) > call_command('', **kwargs) > > So this would

Re: Using os.fork() in a Django view

2011-08-19 Thread Russell Keith-Magee
On Fri, Aug 19, 2011 at 2:46 PM, Kevin wrote: > Hello everyone, > >  Firstly, I've been using Django for quiet sometime now and have > created a few projects and many of my websites run it.  I am wanting > to take my Django management to the next level, and need to use the > os.fork() function, he

Using os.fork() in a Django view

2011-08-18 Thread Kevin
Hello everyone, Firstly, I've been using Django for quiet sometime now and have created a few projects and many of my websites run it. I am wanting to take my Django management to the next level, and need to use the os.fork() function, here's why. I am planning on developing a web control pa