Hello,

I am working on a small portal, and there is a sidebar which is  
visible on every page. It contains the list of latest news and forum  
topics - the "usual" portal stuff.
Now the question is - how do you do that effectively in Django? I am  
referring to the part which gets the data from the database of course  
- the templates itself are ready, and the sidebar is in the main  
"layout" template.

My original idea was to write a header preprocessor, which will  
utilize low-level caching to avoid the high database load. Is this the  
way to go, or there is an easier / faster / generally better way? I  
checked the template fragment caching but I think that will not  help  
me if since the database queries happen in the header processor.


---
Roodie




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