Is there a HAML implementation for use with Python and Django


Question

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.

1
70
7/18/2019 2:31:22 PM

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.

37
7/24/2013 3:46:51 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon