From ce89ebe1f06445e453e5bf18d868235d2e27a8d3 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 7 Jul 2011 21:46:02 +0000 Subject: [PATCH] Removed a redundant line from the cache_page docs The code example clearly includes the import, no need to mention it twice. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16523 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/cache.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 839e03d1e35..a5e8a672f80 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -574,9 +574,6 @@ Here's the same thing, with ``my_view`` wrapped in ``cache_page``:: (r'^foo/(\d{1,2})/$', cache_page(60 * 15)(my_view)), ) -If you take this approach, don't forget to import ``cache_page`` within your -URLconf. - Template fragment caching =========================