This project is a very rough version of what is wanted. Feel free to suggest and colaborate with improvements to make it better. The only restriction is that the compilers being used cannot be external to the plugin. Must be entirely self contained. That is why it doesn't use popular plugins such as django-compass or django-compress and doesn't rely on executables such as Ruby's SASS and SCSS gem.
Looking forward to include support for LESS and Stylus, among others.
Install using pip or easy_install
$ pip install django-sassy-coffee
$ easy_install django-sassy-coffee
Add "sassy_coffee" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = (
Add the following options to the settings.py file to configure:
DJANGO_SASSY_COFFEE_FORMATS = [
# Add the formats you wish to compile
# Use 'sass' for SASS files, 'scss' for SCSS files, and 'coffee' for CoffeeScript files
DJANGO_SASSY_COFFEE_EXCLUSIONS = [
# Include the names of the files you want to be skipped by the compiler
# The name must include format (for example, 'base.sass' or 'index.coffee')
Just add your SASS and CoffeeScript files inside your static folder. Recommended to locate them inside sass and coffee subfolders, but not required.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for django-sassy-coffee-0.1.macosx-10.9-intel.exe