pyjade icon indicating copy to clipboard operation
pyjade copied to clipboard

pyjade and django-less

Open jakubzitny opened this issue 11 years ago • 3 comments

Hi, is there any way to use "some" extended functionality over jade with django? For example I want to use django-less to automatically compile less files to css, but they only support the default django templating engine.

Thanks.

jakubzitny avatar Jul 20 '13 12:07 jakubzitny

Allow me to ask, how does Jade/PyJade fit into the equation? Please clarify.

egasimus avatar Jul 31 '13 19:07 egasimus

If you are using the default django templates and you want to use e.g. django-less (to autocompile less to css), you have to write something like this (in the template):

{% load less %}

However, when I'm using jade/pyjade, there is no macro like {% load less %} macro or {% less .... %}, you know what I mean?

jakubzitny avatar Aug 03 '13 09:08 jakubzitny

According to what the README says, you could type:

- load less
- less ...

egasimus avatar Aug 04 '13 13:08 egasimus