From f87f6312257bd5b10946cbfed6acea4708977436 Mon Sep 17 00:00:00 2001 From: Johannes Linke Date: Mon, 18 Apr 2016 20:13:01 +0200 Subject: [PATCH] Update README: Mention support of coffeescript and sass and compatible django versions --- README.rst | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/README.rst b/README.rst index 40d6a37..82fae69 100644 --- a/README.rst +++ b/README.rst @@ -14,34 +14,39 @@ Django Compressor .. image:: https://caniusepython3.com/project/django_compressor.svg :target: https://caniusepython3.com/project/django_compressor -Django Compressor combines and compresses linked and inline Javascript -or CSS in a Django template into cacheable static files by using the -``compress`` template tag. +Django Compressor processes, combines and minifies linked and inline +Javascript or CSS in a Django template into cacheable static files. -HTML in between ``{% compress js/css %}`` and ``{% endcompress %}`` is -parsed and searched for CSS or JS. These styles and scripts are subsequently -processed with optional, configurable compilers and filters. +It supports compilers such as coffeescript, LESS and SASS and is +extensible by custom processing steps. -The default filter for CSS rewrites paths to static files to be absolute -and adds a cache busting timestamp. For Javascript the default filter -compresses it using ``jsmin``. +Django Compressor is compatible with Django 1.8 and newer. -As the final result the template tag outputs a ``