HamlPy icon indicating copy to clipboard operation
HamlPy copied to clipboard

A converter of HAML like templates into Django templates.

Results 42 HamlPy issues
Sort by recently updated
recently updated
newest added

Hi, I am trying to use hamlpy for an web app with django and Angularjs. Angularjs introduces html tags with hyphen in tag name. Ex: ng-view hamlpy is compiling %ng-view...

Hello, Great app you made here, i'm using it in most of my projects now. I saw there is a templatize function in the project, it seems to link the...

Sometimes element's attributes can depends on some logic or django variables, for example: ``` django {% for a in b %} this is link {% endfor %} ``` I want...

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...

The following HAML markdown, ``` :markdown [Account Details]({% url account_details %}) ``` causes this error: ``` TemplateSyntaxError at /accounts/view/all Invalid block tag: '%20url%20account_details%20' ```

I think it'll be much useful instead of annoying JSON-like %a{'href':'http://example.com'}

Can you allow the same tuple for a `for` attribute as supported by `id` (joined as '_') so we can do something like this: ``` %label{'for': ('id', '{{ control }}')}...

Would be nice if this was supported: http://haml.info/docs/yardoc/file.REFERENCE.html#html5_custom_data_attributes Thanks.

Hi, I believe I've found a bug in the whitespace removal: I have the following code in a template: ``` %a.media-heading.lead{ 'href': "#{ link.link.url }" }< - if link.link.title =...

Rather than ending a block with just `{% endblock %}` ``` {% block content %} ... {% endblock %} ``` I think it would help readability if it would carry...