I'm developing a app with someone else and he is doing the frontend, so I decided to create a dummy.kid that will let me add and test stuff so later he will add the template.
my idea is that dummy.kid will display *all* variables from the template, so I did
<p py:for="" in locals()">
<span py:content="var">X</span>
</p>
this will let me check if the output is ok, but it's showing some internal variables this lead me to two questions
1- how can I strip those internal variables from the output
2- what is all that?
I got a total of 19 variables
std
_cont
ancestors
assume_encoding
tg_js_bodytop
value_of
defined
self
current
tg_css
tg_js_head
_p
content
tg_flash
initialize
tg
_u
serializer
tg_js_bodybottom
I know the ones that start with tg are from turbogears but what about all the others?
will one of those give me an answer to #1 ?
_______________________________________________ kid-template-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
