HamlPy icon indicating copy to clipboard operation
HamlPy copied to clipboard

Support Filters in Inline Django Variables

Open kevinastone opened this issue 12 years ago • 1 comments

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

kevinastone avatar Jan 27 '13 08:01 kevinastone

Any progress on that?

alexmorozov avatar Sep 16 '13 07:09 alexmorozov