In order to pass more than one argument to the lessc compiler you need to use the option argument for each variable, for example
lessc --modify-var="bgColor=purple" --modify-var="bodyColor=aqua" custom.less test.css
Notice the “–modify-var” option being passed twice, this is because there is no separator
https://github.com/less/less.js/issues/731#issuecomment-28477515
One response to “Pass Multiple Variables to lessc Command Line Arguments”
All generic views aucltamitaoly use RequestContext, so with direct_to_template you can use {{ request }}. For render_to_response, you have to manually pass it to activate the context processors: return render_to_response( template.html’, { my_context_as_dict }, context_instance = RequestContext(request))