软件包: python3-django-sass-processor (0.5.4-1)
python3-django-sass-processor 的相关链接
Trisquel 的资源:
下载源码包 django-sass-processor:
- [django-sass-processor_0.5.4-1.dsc]
- [django-sass-processor_0.5.4.orig.tar.gz]
- [django-sass-processor_0.5.4-1.debian.tar.xz]
维护者:
Original Maintainers:
- Debian Python Modules Team (Mail Archive)
- Hans-Christoph Steiner
外部的资源:
- 主页 [github.com]
相似软件包:
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, if any of the imported SASS/SCSS files is younger than the corresponding generated CSS file.
This Django app provides a templatetag {% sass_src 'path/to/file.scss' %}, 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 <https://developer.chrome.com="" devtools="" docs="" css-preprocessors="">`__ is generated along side with the compiled *.css file. This allows 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.
其他与 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