Sass app for django.
Latest commit 6a43d2a May 12, 2014 @ashchristopher Merge pull request #10 from jleclanche/master
Add support for Python 3
Failed to load latest commit information.
sass Replace a unicode() by str() Dec 1, 2012
.gitignore Moved gitignore Jan 20, 2010
AUTHORS.txt Add myself to contributors Dec 1, 2012
LICENSE.txt Added packaging files Mar 15, 2010
README Updated to use distribute Apr 9, 2010


*** Note: This package is no longer under development. ***

Sass integration app for Django

Django-sass integrates the power, usefulness and best of
all DRY-ness of Sass, into your Django projects.

Getting Started

In your, define the path to your sass executable.

SASS_BIN = '/usr/bin/sass' # location of the sass binary

As well, you will need a dictionary to define the sass input and output files.

SASS = (
        'name' : 'test', 
        'details' : { 
            'input' : 'sass/test.sass', 
            'output' : 'css/test.css',
        'name' : 'test2', 
        'details' : { 
            'input' : 'sass/test2.sass', 
            'output' : 'css/test2.css', 

Once all of your Sass files have been defined in your file, you can now reference 
them in your templates.

{% load sass_tag %}
{% sass <name of sass in settings> %}


{% sass 'test' %}

If the named sass entry is not up to date, django-sass will automatically run the sass command on
the sass file, generating your css.

Management Command
The 'sassify' command is used to generate the css manually. The css will only be generated if 
there are changes made to the sass files.

python sassify [OPTIONS]
    -- This command runs sass on all files that are not yet up to date.


    - Forces sass to regenerate all css files from css files.

    - List the status of your named sass entries.
    - Remove all generated files.
This library is only compatible with Linux/BSD based distros. I don't use Windows, so if you want 
Windows support, feel free to submit a patch.