Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A development toolkit for compiling sass and coffee script files.

Project description

A development toolkit for compiling sass and coffee script files.


`pip install -U django-assets-toolkit`


Add assetstoolkit in your INSTALLED_APPS settings, then you can load the assetstoolkit from your template files which has three template tags:

  • scss
  • less
  • coffee

You can use it in your templates like:

{% load assetstoolkit %}


<link rel="stylesheet" type="text/css" href="{% scss 'css/styles.scss' %}">
<link rel="stylesheet" type="text/css" href="{% less 'css/styles.less' %}">
<script type="text/javascript" src="{% coffee 'src/' %}"></script>

Have a look at to see more options.


It will put the compiled sass file in the same directory of .scss file while it’ll put the compiled coffee script on the same level where the script is contained but within js directory. If you want the compiled script to be on a different directory just override COFFEE_OUTPUT settings which should be sibling of directory where script is located.

For the CoffeeScript package to work, you need to actually have the Coffee Script binary in your system. The same is true for Less.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-assets-toolkit, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django-assets-toolkit-0.1.2.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page