Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a HAML implementation for use with Python and Django

I happened to stumble across HAML, an interesting and beautiful way to mark up contents and write templates for HTML.

Since I use Python and Django for my web developing need, I would like to see if there is a Python implementation of HAML (or some similar concepts -- need not be exactly identical) that can be used to replace the Django template engine.

like image 524
Ber Avatar asked Feb 06 '09 09:02

Ber


1 Answers

You might be interested in SHPAML:

http://shpaml.com/

I am actively maintaining it. It is a simple preprocessor, so it is not tied to any other tools like Genshi. I happen to use it with Django, so there is a little bit of Django support, but it should not interfere with most other use cases.

like image 166
Steve Howell Avatar answered Sep 22 '22 18:09

Steve Howell