Re: How to cache the output of Django 1.2 RSS class based views?

2010-03-11 Thread Russell Keith-Magee
On Thu, Mar 11, 2010 at 10:01 PM, Brian Neal wrote: > On Mar 7, 10:48 pm, Brian Neal wrote: >> Before the Django 1.2 beta and the class-based Feed views, I was doing >> this to cache my RSS feeds: >> >> urls.py: >> from django.contrib.syndication.views import

Re: How to cache the output of Django 1.2 RSS class based views?

2010-03-11 Thread Brian Neal
On Mar 7, 10:48 pm, Brian Neal wrote: > Before the Django 1.2 beta and the class-based Feed views, I was doing > this to cache my RSS feeds: > > urls.py: > from django.contrib.syndication.views import feed as syndication_feed > from django.views.decorators.cache import

How to cache the output of Django 1.2 RSS class based views?

2010-03-07 Thread Brian Neal
Before the Django 1.2 beta and the class-based Feed views, I was doing this to cache my RSS feeds: urls.py: from django.contrib.syndication.views import feed as syndication_feed from django.views.decorators.cache import cache_page urlpatterns = patterns('', url(r'^feeds/(?P.*)/$',