Hi,
i'm using Django the first time for a browser game project.
I will need to have some globally accessible, static data like string
tables for every view.
These would be loaded from XML files.
For the moment all i have figured out with Django is that my code
will
be called via callbacks for the view when accessing a particular URL.
Obviously, i don't want to reload that data with *each* access to a
view.
I'd like to know where to put the code that reads these files and
initialzes the global data once and for all at server startup.
I.e. i'd like to have that data in memory and accessible from any
view
during the lifetime of the server, so that it needs NOT to be loaded
for any access to the site/view.

Hope the question is clear.

Regards,
Lars

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