commit | f60232d52b71555e48b6c799f01e512cffa7429c | [log] [tgz] |
---|---|---|
author | Armin Ronacher <armin.ronacher@active-4.com> | Sat Jun 05 14:31:27 2010 +0200 |
committer | Armin Ronacher <armin.ronacher@active-4.com> | Sat Jun 05 14:31:27 2010 +0200 |
tree | b8cf852b3a4c8da16db64acc30204f4304fea951 | |
parent | 53cafcc1aead95a5373bdecaabc18a2a432b7631 [diff] [blame] |
Updated examples to use Django cached. --HG-- branch : trunk
diff --git a/examples/profile.py b/examples/profile.py index a154404..70f1e0d 100644 --- a/examples/profile.py +++ b/examples/profile.py
@@ -11,6 +11,9 @@ } source = """\ +% macro testmacro(x) + <span>{{ x }}</span> +% endmacro <!doctype html> <html> <head> @@ -25,7 +28,7 @@ % for row in table <tr> % for cell in row - <td>${cell}</td> + <td>${testmacro(cell)}</td> % endfor </tr> % endfor