How could I have some fixed data that is in a Python variable treated
as a Model?

My app has about 1 MB of data that I need random access to for almost
every request.   I don't want to read it out of MySQL because it would
be slow.   I want to put it in a variable declaration in a python
module, but treated by Django as if it were a model (read only).   So
for example I could have a MySQL Model connect to the Python variable
model with Foreign key or vice versa.

This app does use MySQL for user data.

Any help appreciated.

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to