Hi again,
Johnny-cache http://packages.python.org/johnny-cache/ is very good at
caching repetitive queries, however I had to disable it in my most-recent
project because of a bug in admin...
Other options are low-level cache (in case of context processor - cache only
the QuerySet) or template fra
Hello Matt,
On Dec 19, 6:58 am, Matt wrote:
> I am doing something similar to Alexay, I have a context processor
> repeating the same query for all of my views. Piotr, ( or anyone ) can
> you expand more about caching the data? Maybe some ideas of things to
> Google for.
No need to Google unles
I am doing something similar to Alexay, I have a context processor
repeating the same query for all of my views. Piotr, ( or anyone ) can
you expand more about caching the data? Maybe some ideas of things to
Google for.
On Dec 19, 2:25 am, Piotr Kilczuk wrote:
> Hi,
>
> I have a block, included i
Thanks, Piotr.
It was a solution with custom tag but implementation with database
requests from template looked not too elegant for me.
I'll look into custom context processors.
On Dec 19, 1:25 pm, Piotr Kilczuk wrote:
> Hi,
>
> I have a block, included into several pages (for example, in all
>
>
Hi,
I have a block, included into several pages (for example, in all
> sections of my website you can see top rated articles in the right
> column). I can include a template, that prints this list into base
> template and avoid any copy-paste here.
> But I need to provide it with context variable,
5 matches
Mail list logo