Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit ce89ebe1f06445e453e5bf18d868235d2e27a8d3 1 parent b2050ff
@spookylukey spookylukey authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  docs/topics/cache.txt
View
3  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
=========================
Please sign in to comment.
Something went wrong with that request. Please try again.