thanks for your post, I also think this format:
"{% for (key, values) in d.items() %}"
is better than the format like "value.1.0"
however, I'm just talking about the jinja's "philosophy", if it can
support "value.0 and value[1][0]" , why not support "value.1.0"?
and I think it's even better if only support the format "value[0],
value[1][0]" without supporting "value.0 , value.1.0", at least the
format are uniform.
So, I just think if if it supports 'value.0 , value[0], value[1]
[0]' ,it's better to support 'value.1.0'. #_#
> Sorry I can't answer your question - not being a pocoo developer - but
> I think the readability aspects of your example demonstrates why jinja
> templates are nice. Why not the following?
>
> {% for (key, values) in d.items() %}
> {{ key }} -> {{ values[0] }}
> {% endfor %}
>
> --
> \\\\\/\"/\\\\\\\\\\\
> \\\\/ // //\/\\\\\\\
> \\\/ \\// /\ \/\\\\
> \\/ /\/ / /\/ /\ \\\
> \/ / /\/ /\ /\\\ \\
> / /\\\ /\\\ \\\\\/\
> \/\\\\\/\\\\\/\\\\\\
> d.p.s- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---