Add sass processor
This commit is contained in:
parent
44cc0e356f
commit
3daf623360
2 changed files with 12 additions and 0 deletions
|
@ -126,6 +126,7 @@ STATICFILES_DIRS = [
|
||||||
STATICFILES_FINDERS = [
|
STATICFILES_FINDERS = [
|
||||||
"django.contrib.staticfiles.finders.FileSystemFinder",
|
"django.contrib.staticfiles.finders.FileSystemFinder",
|
||||||
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
|
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
|
||||||
|
"sass_processor.finders.CssFinder",
|
||||||
]
|
]
|
||||||
|
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
|
@ -191,6 +192,7 @@ INSTALLED_APPS = [
|
||||||
# theme
|
# theme
|
||||||
"bootstrapform",
|
"bootstrapform",
|
||||||
"pinax_theme_bootstrap",
|
"pinax_theme_bootstrap",
|
||||||
|
"sass_processor",
|
||||||
|
|
||||||
# external
|
# external
|
||||||
"easy_thumbnails",
|
"easy_thumbnails",
|
||||||
|
@ -353,6 +355,11 @@ NOSE_ARGS = [
|
||||||
'--cover-package=registrasion.controllers,registrasion.models',
|
'--cover-package=registrasion.controllers,registrasion.models',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
SASS_PROCESSOR_INCLUDE_DIRS = [
|
||||||
|
os.path.join(PROJECT_ROOT, 'static/src/bootstrap/scss'),
|
||||||
|
os.path.join(PROJECT_ROOT, 'static/src/scss'),
|
||||||
|
]
|
||||||
|
|
||||||
xmlsec_binary = '/usr/bin/xmlsec1'
|
xmlsec_binary = '/usr/bin/xmlsec1'
|
||||||
if not os.path.isfile(xmlsec_binary):
|
if not os.path.isfile(xmlsec_binary):
|
||||||
sys.exit('ERROR: xmlsec1 binary missing, EXITING')
|
sys.exit('ERROR: xmlsec1 binary missing, EXITING')
|
||||||
|
|
|
@ -43,3 +43,8 @@ requests>=2.11.1
|
||||||
stripe==1.38.0
|
stripe==1.38.0
|
||||||
|
|
||||||
django-waffle>=0.12.0
|
django-waffle>=0.12.0
|
||||||
|
|
||||||
|
|
||||||
|
# SASS Compiler and template tags
|
||||||
|
libsass==0.14.5
|
||||||
|
django-sass-processor==0.7
|
||||||
|
|
Loading…
Reference in a new issue