Hey all, thought you might be interested to know that I just patched a
project HamlPy, a library for converting a pythonic haml-like syntax
to django templates/html, to work with web2py templates.

It allows for a less crufty, indentation-based syntax. Because it's
indentation-based, {{ pass }} is no longer needed to close flow-
control statements, and blocks are self-closed. Overall I think it's a
much cleaner and quicker way of creating templates. And if you do want
to use traditional {{ }} syntax, you can also do that in the .hamlpy
files and they'll be converted as-is.

https://github.com/danenania/HamlPy

Hope someone gets some use out of this. My first real open source
effort!

Reply via email to