You could try putting ${locals()['__data__']} in your template somewhere.
Sweet. I've been wanting that for a long time (should have though of that myself). Thanks.
Jeff
I mean, its python so you can do whatever you want. E.g.
<pre>
${'\n'.join(locals()['__data__'])}
</pre>
Or whatever
Jeff
Or better yet, create a function and save it in a utils template. For example:
<table py:def="debug" class="debug">
<thead>
<tr><th colspan="2">Template Variables</th></tr>
<tr><th>Name</th><th>Value</th></tr>
<thead>
<tbody>
<tr py:for="key, value in locals()['__data__']">
<td>${key}</td><td>${repr(value)}</td>
</tr>
</tbody>
</table>
${debug()}