Thursday, July 8, 2010

Re: News on every page


On Fri, Jul 9, 2010 at 3:40 AM, Antoni Aloy <antoni.aloy@gmail.com> wrote:

I would use a custom template tag with cache

I was planning to recommend the same, but i wasnt sure whether this is efficient when compared with context-processor solution. I had used template tags for a similar requirement for one of my clients.
 
Is the DB queried repeatedly in cases wherein a template tag is used across pages? or is the data/query cached?
 
-V

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate