scss
@use the files, because django_libsass uses the C++ version of sass that does not support modules.
This commit is contained in:
@@ -18,6 +18,7 @@ ALLOWED_HOSTS = []
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'compressor',
|
||||
'signup.apps.SignupConfig',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
@@ -90,6 +91,15 @@ USE_TZ = True
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
|
||||
STATICFILES_FINDERS = ["django.contrib.staticfiles.finders.AppDirectoriesFinder"]
|
||||
STATICFILES_FINDERS = [
|
||||
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
|
||||
"compressor.finders.CompressorFinder",
|
||||
]
|
||||
|
||||
STATIC_ROOT = '/tmp/e11mail-static'
|
||||
|
||||
COMPRESS_PRECOMPILERS = (
|
||||
('text/x-scss', 'django_libsass.SassCompiler'),
|
||||
)
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
Reference in New Issue
Block a user