Re: Function caching

2006-05-23 Thread Adrian Holovaty
On 5/23/06, Elver Loho <[EMAIL PROTECTED]> wrote: > Does Django offer any decorators for caching the output of any > function, such as get_latest_books, based on the arguments passed to > it? Hi Elver, There's no specific cache decorator, but the low-level cache API is so simple to use that doin

Re: Function caching

2006-05-23 Thread tnleeuw
Elver Loho wrote: > Can Django's caching framework somehow be used to cache the output of > any function? > [...] > > Does Django offer any decorators for caching the output of any > function, such as get_latest_books, based on the arguments passed to > it? > [...] Such decorators already exist.