diff options
| author | David Cramer | 2011-09-16 01:09:01 -0700 |
|---|---|---|
| committer | David Cramer | 2011-09-16 01:09:01 -0700 |
| commit | 8278bb0f24d925288740c23a2315e9c5a27a3290 (patch) | |
| tree | 5dce59d9bd497a19e6cbaf8aebfc697200368b11 /example/templates/index.html | |
| parent | 5a3813d2bb4fb63d66b1b8a13edb8354b36a28b4 (diff) | |
| parent | 69f1c7733e29ee9ea3e4670f2183deb52f58a871 (diff) | |
| download | django-debug-toolbar-8278bb0f24d925288740c23a2315e9c5a27a3290.tar.bz2 | |
Merge pull request #206 from lincolnloop/stats_decouple
Decouple statistics from presentation
Diffstat (limited to 'example/templates/index.html')
| -rw-r--r-- | example/templates/index.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/example/templates/index.html b/example/templates/index.html index 6fd3a92..d7d8a2b 100644 --- a/example/templates/index.html +++ b/example/templates/index.html @@ -1,16 +1,18 @@ +{% load cache %} <html> <head> - <meta http-equiv="content-type" content="text/html; charset=utf-8"> - <title>Index of Tests</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8"> + <title>Index of Tests</title> </head> <body> - <h1>Index of Tests</h1> - <ul> - <li><a href="/jquery/index/">jQuery 1.2.6</a></li> - <li><a href="/mootools/index/">MooTools 1.2.4</a></li> - <li><a href="/prototype/index/">Prototype 1.6.1</a></li> - </ul> - + <h1>Index of Tests</h1> + {% cache 10 index_cache %} + <ul> + <li><a href="/jquery/index/">jQuery 1.2.6</a></li> + <li><a href="/mootools/index/">MooTools 1.2.4</a></li> + <li><a href="/prototype/index/">Prototype 1.6.1</a></li> + </ul> + {% endcache %} </body> </html> |
