Add support for SCSS and use a template from MDL.

This commit is contained in:
Drew Larson
2016-03-24 11:28:03 -06:00
parent d48aa45006
commit 69054fa50a
12 changed files with 509 additions and 5 deletions
+15 -1
View File
@@ -29,6 +29,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'compressor',
'registration',
'core',
]
@@ -112,6 +113,19 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'compressor.finders.CompressorFinder',
)
STATICFILES_DIRS = [
('vendor', os.path.join(BASE_DIR, '../vendor')),
]
STATIC_ROOT = 'static'
STATIC_URL = '/static/'
AUTH_USER_MODEL = 'registration.Member'
AUTH_USER_MODEL = 'registration.Member'
COMPRESS_PRECOMPILERS = (
('text/x-scss', 'django_libsass.SassCompiler'),
)