Hi,

   I'm trying to cache an individual page (thus using the simple
cache_page decorator) and I came across those questions :

- why is it necessary to add CACHE_MIDDLEWARE_SECONDS to my settings ?
I dont use the middleware, just the cache_page decorator

- is there a way to cache a page (using cache_page) that is defined
with a direct_to_template in my urls.py (and thus has no view)

- when I add the cache_page decorator, after setting
CACHE_MIDDLEWARE_SECONDS and other mandatory (so it seems) parameters,
I get an error when I access the page if I remove the decorator the
page is displayed just fine) : ViewDoesNotExist : Error was: 'function'
object has no attribute 'META'

thanks for any help.

--
Vladikio


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to