Metadata-Version: 2.0 Name: django-compressor Version: 2.2 Summary: Compresses linked and inline JavaScript or CSS into single cached files. Home-page: https://django-compressor.readthedocs.io/en/latest/ Author: Jannis Leidel Author-email: jannis@leidel.info License: MIT Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Django Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Topic :: Internet :: WWW/HTTP Requires-Dist: django-appconf (>=1.0) Requires-Dist: rcssmin (==1.0.6) Requires-Dist: rjsmin (==1.0.12) Django Compressor ================= .. image:: https://codecov.io/github/django-compressor/django-compressor/coverage.svg?branch=develop :target: https://codecov.io/github/django-compressor/django-compressor?branch=develop .. image:: https://img.shields.io/pypi/v/django_compressor.svg :target: https://pypi.python.org/pypi/django_compressor .. image:: https://secure.travis-ci.org/django-compressor/django-compressor.svg?branch=develop :alt: Build Status :target: http://travis-ci.org/django-compressor/django-compressor .. image:: https://caniusepython3.com/project/django_compressor.svg :target: https://caniusepython3.com/project/django_compressor Django Compressor processes, combines and minifies linked and inline Javascript or CSS in a Django template into cacheable static files. It supports compilers such as coffeescript, LESS and SASS and is extensible by custom processing steps. Django Compressor is compatible with Django 1.8 and newer. How it works ------------ In your templates, all HTML code between the tags ``{% 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. The default filter for CSS rewrites paths to static files to be absolute. Both Javascript and CSS files are by default concatenated and minified. As the final step the template tag outputs a ``