From 9e0cfcfff790cdc4949e2f44c13a00b24afc8ffc Mon Sep 17 00:00:00 2001 From: icoldplayer Date: Tue, 24 Sep 2019 01:36:15 +0700 Subject: [PATCH] fixing sass issue in development mode --- crm/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crm/settings.py b/crm/settings.py index 0959e4f2..d2ab8714 100644 --- a/crm/settings.py +++ b/crm/settings.py @@ -215,6 +215,7 @@ COMPRESS_PRECOMPILERS = ( ('text/less', 'lessc {infile} {outfile}'), ('text/x-sass', 'sass {infile} {outfile}'), ('text/x-scss', 'sass {infile} {outfile}'), + ('text/x-scss', 'django_libsass.SassCompiler'), ) COMPRESS_OFFLINE_CONTEXT = { @@ -359,4 +360,4 @@ else: # 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', # 'LOCATION': '127.0.0.1:11211', # } -# } \ No newline at end of file +# }