Hi,

> 1) Am I right in thinking that decorators were only introduced in Python 2.4?

yes, decorators were introduced in Python 2.4. But you don't have to use 
them.
A non decorator syntax would be:

myview = cache_page(myview, 900)


> 2) This would mean overriding the admin views for every application
> I'm running, and makes me groan at the thought of keeping things
> up-to-date.

Do you mean the admin interface of Django? I think, it's not a good
idea to cache admin pages. But yes, you have to add a decorator for
each view, which should be cached.

Bye,
Axel

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to