a Django finder that compiles Sass files
Project description
django_sass_finder
a Django finder that compiles Sass files
installation
WARNING: MAKE SURE YOU HAVE NO SASS PACKAGES INSTALLED (other than libsass)!
run pip install django_sass_finder
, then put django_sass_finder in your INSTALLED_APPS
, and
finally list your static file finders as so:
STATICFILES_FINDERS = [
# add the default Django finders as this setting will override the default
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# our finder
'django_sass_finder.finders.ScssFinder',
]
usage
run python manage.py collectstatic
to compile your Sass files and put them in the STATIC_ROOT.
license
this package is licensed under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_sass_finder-1.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db21bb1473c6769b1dda520ad3e315e85b0171974d1fdb6c0f842a52a4bd5f7 |
|
MD5 | bff09e0679188750be208993fb38ea9e |
|
BLAKE2b-256 | a744d9b30297c4130798e44dc6a5b12983231ca8d956f4e6850feac0e2676f2b |
Close
Hashes for django_sass_finder-1.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 306afed7eafcd65534a0dc3b0455753151ca5b933dc8a5e55eb63bb50301556c |
|
MD5 | 1357649e8fb46ecce9b1d9b89c59e966 |
|
BLAKE2b-256 | faeb59d5524d5d678114b91d846b84ca3faaf02ef933e9dabd8d3ada54013576 |