설치하기
pip install libsass django-compressor django-sass-processor
settings.py 변경
INSTALLED_APPS = [ ... 'sass_processor', ... ] SASS_PROCESSOR_ENABLED = True SASS_PROCESSOR_ROOT = os.path.join(BASE_DIR, 폴더명(있을 경우), 'static') SASS_OUTPUT_STYLE = 'compact'
{% load sass_tags %} <link href="{% sass_src 'css/filename.scss' %}" rel="stylesheet" type="text/css" />