summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-07-07 21:46:02 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-07-07 21:46:02 +0000
commitce89ebe1f06445e453e5bf18d868235d2e27a8d3 (patch)
tree345e11a413c52bdbab31d51058db67ccb225d563 /docs
parentb2050ff546da4164f90a795e55d7d8c55981783d (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/cache.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index 839e03d1e3..a5e8a672f8 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
=========================