1
@use the files, because django_libsass uses the C++ version of sass that
does not support modules.
This commit is contained in:
2023-12-15 06:34:25 +02:00
parent 762f04c7a8
commit c89fff0340
7 changed files with 2923 additions and 17 deletions

View File

@@ -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'