python-django-compressor
Port variant py38
Summary Django CSS/JS cache and compressor (PY38)
Package version 2.4.1
Homepage https://django-compressor.readthedocs.io/en/latest/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py39
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 19 APR 2021, 14:05:17 UTC
Port created 20 APR 2020, 15:00:59 UTC
Subpackage Descriptions
single 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.11 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 ``