# coding: utf-8


class CompressSettings(object):

    COMPRESS_CSS_FILTERS = ['compressor.filters.css_default.CssAbsoluteFilter',
                            'compressor.filters.cssmin.CSSMinFilter']


class CompressEnabled(CompressSettings):
    COMPRESS_ENABLED = True
    COMPRESS_OFFLINE = True
@@ -11,16 +11,60 @@
 utf-8%0A%0A%0A
+less_command = 'lessc %7Binfile%7D %7Boutfile%7D'%0A%0A%0A
 class Co
@@ -87,17 +87,16 @@
 bject):%0A
-%0A
     COMP
@@ -237,16 +237,153 @@
 ilter'%5D%0A
+    COMPRESS_PRECOMPILERS = (%0A        ('text/less', less_command + ' --rootpath=../'),%0A    )%0A    COMPRESS_CSS_HASHING_METHOD = 'content'%0A
 %0A%0Aclass 
@@ -468,12 +468,87 @@
 FLINE = True
+%0A%0A    COMPRESS_PRECOMPILERS = (%0A        ('text/less', less_command),%0A    )%0A

Update compress.py