def __init__(self, verbose=False): self.version_impl = to_class(settings.COMPRESS_VERSIONING)(self) self.verbose = verbose
def compilers(self): return [to_class(compiler) for compiler in \ settings.COMPRESS_COMPILERS]
def __init__(self, additional_compressors, verbose): self.verbose = verbose self.extra_compressors = [to_class(compressor) \ for compressor in additional_compressors]
def versionner(self): return to_class(settings.COMPRESS_VERSIONING)(self)
def css_compressors(self): return [to_class(compressor) for compressor in settings.COMPRESS_CSS_COMPRESSORS]