Skip to content

Jskarie/django-pipeline-compass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Pipeline Compass

django-pipeline-compass is a compiler for django-pipeline. Making it really easy to use scss and compass with out requiring the compass gem.

To install it :

pip install django-pipeline-compass

And add it as a compiler to pipeline in your django settings.py.

PIPELINE_COMPILERS = (
	'pipeline_compass.compiler.CompassCompiler',
)

To use image_sprites the following configuration must be added. SCSS_STATIC_ROOT = "/tmp/scss/css" #point to any temporary directory, must end in /css for collectstatic command

STATICFILES_DIRS = (
        ...	
	SCSS_STATIC_ROOT+/../,
	#for collectstatic
	SCSS_STATIC_ROOT,
	#for running in debug mode
)

This library supports a limited subset of the image_sprites functionality. Please see pyscss documentation for more details.

This library relies upon pyscss, look there to see what commands are supported. http://pyscss.readthedocs.org/en/latest/

To suggest a feature or report a bug : https://github.com/vbabiy/django-pipeline-compass/issues

About

Easy Compass support for django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 98.0%
  • Python 2.0%