cyberdelia/django-pipeline — Issue #27: Add conditional compilation for Less while DEBUG = True
Author: rfkrocktk
Created: 2011-10-12 22:50:49+00:00
State: open

Since Less gives the option of compilation at runtime via a JavaScript library, it'd be nice if django-pipeline could include an option for using runtime compilation while `DEBUG = True`.

Currently, you can do this with the following template code, but it'd be nicer if this could be integrated with django-pipeline:

{% if debug %}

{% else %}
{% compressed_css 'all' %}
{% endif %}