I would like to run a thread for an entire Django project. I would
like to house the code that starts this thread up inside an
application.

Currently I placed the code in the '__init__.py' in the root of my
Django application, but when I start the server using 'runserver' is
seems to run this code twice. So it creates two threads. Any idea how
I can prevent this from happening?

When I start the project as a daemon it seems the thread doesn't run
at all!?

Also, any tips on doing this kind of thing? I'm a little worried that
I might run into some crazy issues when I place this into production.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to