Re: How do I prevent messages getting cached?

2011-12-19 Thread nathan
Thanks Torsten. This seems to be what I was looking for. On Dec 20, 12:11 am, Torsten Bronger wrote: > Hall chen! > > Nathan Geffen writes: > > I am using per-view caching in version 1.3 and would prefer to avoid > > caching in my templates as far as possible. However, I've hit a snag. > > If the

Re: How do I prevent messages getting cached?

2011-12-19 Thread Torsten Bronger
Hallöchen! Nathan Geffen writes: > I am using per-view caching in version 1.3 and would prefer to avoid > caching in my templates as far as possible. However, I've hit a snag. > If the messaging framework generates a message for a cached view, one > of two things happen: > > 1. If the page is not

Re: How do I prevent messages getting cached?

2011-12-19 Thread Andres Reyes
You could use the cache template tag https://docs.djangoproject.com/en/dev/topics/cache/#template-fragment-caching And cache only certain parts of your template and not all of it 2011/12/18 Nathan Geffen : > Hi > > I am using per-view caching in version 1.3 and would prefer to avoid > caching in

How do I prevent messages getting cached?

2011-12-18 Thread Nathan Geffen
Hi I am using per-view caching in version 1.3 and would prefer to avoid caching in my templates as far as possible. However, I've hit a snag. If the messaging framework generates a message for a cached view, one of two things happen: 1. If the page is not yet in cache, the page gets cached with t