Django Class Based View use @cache_page <p>I want to add <code>@cache_page</code> to a class based view however because of the way I have my url <code>url(r'^/(?P&lt;shortcut&gt;coming-soon)$', MovieList.as_view(), name='movie_list_coming_soon'),</code> it brings an error MovieList has no .as_view </p> <p>The class MovieList is:</p> <pre><code>class MovieList(ListView): model = Movie paginate_by = 20 context_object_name = 'movies' category = None venue = None date = None slug_level = "" def get_queryset(self): today = datetime.date.today() qs = Movie.objects.filter(visible=True,).order_by('-hot', '-showing', 'name') if self.request.mobile: self.template_name = 'mobile/movies.html' if self.kwargs.get('category', None): slugs = self.kwargs['category'].strip('/').split('/') self.category = get_object_or_404(Category, slug=slugs[-1]) category_ids = [c.id for c in self.category.get_child_categories()] category_ids.append(self.category.id) qs = qs.filter(categories__in=category_ids) if self.kwargs.get('venue', None): ..... </code></pre>