Skip to main content

a Django finder that compiles Sass files

Project description

django_sass_finder

a Django finder that compiles Sass files

installation

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

django_sass_finder-1.0.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

django_sass_finder-1.0.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page