Source

svargaext.transform /

Filename Size Date modified Message
svargaext
tests
34 B
90 B
740 B
1.0 KB

svargaext.clevercss

Application to render CleverCSS as CSS.

It requires a bit of configuration dropped in settings.py:

CLEVERCSS = {
    'main': {'clevercss/*.ccss': 'css/*.css'},
    'someapp': { 'static/test.ccss': 'css/test.css'},
}

Configuration description:

  • CLEVERCSS - actual configuration, is a mapping of name from STATIC_URLS to a dictionary of mappings 'clevercss-source': 'css-target'. Source can contain * to wildcard match files. In this case target should contain * as well.

How to install from repository

It's that easy:

pip install hg+http://hg.piranha.org.ua/svargaext.clevercss/#egg=svargaext.clevercss