2👍
✅
You can try something like this, and adapt it to your directory structure :
import os
local_path = lambda path: os.path.join(os.path.dirname(__file__), path)
PIPELINE_LESS_BINARY = local_path('bin/lessc')
local_path
return the path of a file relatively to the settings.py
file path.
Source:stackexchange.com