HamlPy
HamlPy copied to clipboard
Support Filters in Inline Django Variables
I frequently need to pass a variable through a django filter before combining with static text inline.
For example:
%h4
AUS$={price|floatformat:"-2"|intcomma}
Placing them on separate lines doesn't work because it introduces whitespace.
%h4
AUS$
= price|floatformat:"-2"|intcomma
Any progress on that?