On 9/28/07, Mark Green <[EMAIL PROTECTED]> wrote:
> i'm looking for a way to perform a bunch of initialization tasks
> right after django startup.

There really is no such thing as "Django startup"; remember that
Django is hosted inside a web server, and that server processes will
come and go over time with no real concept of anything persisting
beyond the life of a process, unless you serialize out to an external
store (such as your database, or a file, or memcached). And then
you'll want to be very careful in how you "initialize", because that's
probably going to happen every time a server process is started, and
you'll need to take care that you're not unnecessarily regenerating or
recalculating something when you could load it from something
external.



-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to