Package: python3-django-sass-processor (1.2.2+repack-1)
Links for python3-django-sass-processor
Debian Resources:
Download Source Package django-sass-processor:
- [django-sass-processor_1.2.2+repack-1.dsc]
- [django-sass-processor_1.2.2+repack.orig.tar.gz]
- [django-sass-processor_1.2.2+repack-1.debian.tar.xz]
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
compile files from markup languages such as SASS/SCSS
django-sass-processor converts *.scss or *.sass files into *.css while rendering templates. For performance reasons this is done only once, since the preprocessor keeps track on the timestamps and only recompiles when any of the imported SASS/SCSS files is younger than the corresponding generated CSS file.
This Django app provides a templatetag "sass_src", which can be used instead of the built-in templatetag static. Since version 0.3.4 this also works for Jinja2 templates.
If SASS/SCSS files shall be referenced through the Media class or media property, the SASS processor can be used directly.
Additionally, django-sass-processor is shipped with a management command, which can convert the content of all occurrences inside the templatetag sass_src as an offline operation. Hence, the libsass compiler is not required in a production environment.
During development, a sourcemap is generated alongside the compiled *.css file. This allows one to debug style sheet errors much easier.
With this tool, you can safely remove your Ruby installations "Compass" and "SASS" from your Django projects. You neither need any directory "watching" daemons based on node.js.
Other Packages Related to python3-django-sass-processor
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-django
- High-level Python web development framework
-
- dep: python3-libsass
- SASS for Python 3: a straightforward binding of libsass for Python
-
- rec: python3-django-compressor
- Compresses linked, inline JS or CSS into single cached files - Python 3.x
-
- sug: python3-jinja2
- small but fast and easy to use stand-alone template engine
Download python3-django-sass-processor
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 19.6 kB | 77.0 kB | [list of files] |