On Nov 22, 2009, at 9:58 PM, aurphir wrote:
> How can I have an application scope variable which should be loaded
> everytime the app starts app, be in memory and accessible by all until
> the app stops.

I also forgot to mention: If the variable is more or less read-only,  
and does not need to persist across server restarts, consider storing  
it memcached instead of the database.

--
-- Christophe Pettus
   [email protected]

--

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=.


Reply via email to