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
This commit is contained in:
Luke Plant 2011-07-07 21:46:02 +00:00
parent b2050ff546
commit ce89ebe1f0
1 changed files with 0 additions and 3 deletions

View File

@ -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
=========================