torchbox/django-libsass

Inlining code doesn't work

borfast opened this issue · 1 comments

I expected the following to compile the sass code and inline it in the rendered HTML:

{% compress css inline %}
    <link rel="stylesheet" type="text/x-scss" href="{% static "toolbar.scss" %}" />
{% endcompress %}

Instead, it simply links to the compiled file.

The inline method works fine for plain CSS files with django-compressor but it's not working for sass files.

Am I missing something or is this a bug in django-libsass?

Never mind, it was my fault, I had COMPRESS_ENABLED set to False.