Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
django-less编译为css空css_Django_Less - Fatal编程技术网

django-less编译为css空css

django-less编译为css空css,django,less,Django,Less,我已经通过了一系列的教程,但不能少编译到css 在django中将less编译为css的最佳技术是什么。静态预挤奶器,yui,e.t.c 你能给我一些合理的细节来配置少到django吗。因为当我编译时,它会生成空的css 什么是更少的二进制路径。您当前正在做什么来生成空文件?我在我的设置中使用了以下设置。py STATICFILES\u STORAGE='pipeline.STORAGE.PipelineStorage'pipeline\u COMPILERS='pipeline.COMPILE

我已经通过了一系列的教程,但不能少编译到css 在django中将less编译为css的最佳技术是什么。静态预挤奶器,yui,e.t.c

你能给我一些合理的细节来配置少到django吗。因为当我编译时,它会生成空的css


什么是更少的二进制路径。

您当前正在做什么来生成空文件?我在我的设置中使用了以下设置。py STATICFILES\u STORAGE='pipeline.STORAGE.PipelineStorage'pipeline\u COMPILERS='pipeline.COMPILERS.less.LessCompiler',PIPELINE\u CSS\u COMPRESSOR='PIPELINE.compressors.cssmin.CSSMinCompressor'PIPELINE\u cssmin\u BINARY='cssmin'PIPELINE\u LESS\u BINARY='lessc'LESS\u EXECUTABLE=getattrsettings,LESS\u EXECUTABLE,lessc