Genshi 0.4 released

0 views
Skip to first unread message

Andreas Reuleaux

unread,
Apr 16, 2007, 3:41:44 PM4/16/07
to turbogea...@googlegroups.com
Genshi 0.4 is released.

http://genshi.edgewall.org/browser/tags/0.4.0/ChangeLog

Among other things python code blocks are now supported
using the <?python ?> processing instructions (ticket 84)

- I heard some people say in the past that this was the
last thing preventing them from switching to genshi.

-Andreas

Andrew Grover

unread,
Apr 16, 2007, 7:06:16 PM4/16/07
to turbogea...@googlegroups.com
On 4/16/07, Andreas Reuleaux <reul...@web.de> wrote:
> Genshi 0.4 is released.

> Among other things python code blocks are now supported
> using the <?python ?> processing instructions (ticket 84)
> - I heard some people say in the past that this was the
> last thing preventing them from switching to genshi.

Woooooo! Finally I can start using Genshi! -- Andy

Mark Ramm

unread,
Apr 16, 2007, 7:57:16 PM4/16/07
to turbogea...@googlegroups.com
> Genshi 0.4 is released.
>
> http://genshi.edgewall.org/browser/tags/0.4.0/ChangeLog
>
> Among other things python code blocks are now supported
> using the <?python ?> processing instructions (ticket 84)

This is fantastic news, for TurboGears 1.1. And good news for all
the turbogears 1.0 users who are already using Genshi.

Awesome!

gas...@gmail.com

unread,
Apr 16, 2007, 10:04:27 PM4/16/07
to TurboGears Trunk

Cool, I just tested the new release with gsquickstart (replacement of
the default kid quickstart template),
genshi 0.4 works fine with gsquickstart
http://cheeseshop.python.org/pypi/gsquickstart/1.0Beta2

function equivalent command for sqlalchemy+genshi template in 1.0.1
could be acquired by the following command::

$ tg-admin quickstart -i -s -t tggenshi

my test code in welcome.html::

<?python
orz = ['oop', 'qoo', 'too']
?>

<ul>
<div py:for="p in orz" py:strip="">
<li py:content="p">xxx</li>
</div>
</ul>

Reply all
Reply to author
Forward
0 new messages