An extension of the django-pipeline storage backend which forgives missing files
Project description
An extension of the django-pipeline storage backend which forgives missing files.
This was created to solve the problem of using django-pipline with third-party Django apps which have missing files in their css.
For example, running collectstatic against an app using both djangobb_forum and pipeline produced (at the time of writing):
$ django-admin.py collectstatic ... ValueError: The file 'djangobb_forum/themes/default/img/active_forum.gif' could not be found with <nest.apps.core.storages.PipelineCachedStorage object at 0x108d06090>.
Installation
Installation using pip:
pip install django-pipeline-forgiving
Usage
Set in your settings.py:
STATICFILES_STORAGE = 'django_pipeline_forgiving.storages.PipelineForgivingStorage'
Credits
Written by Adam Charnock.
django-pipeline-forgiving is packaged using seed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-pipeline-forgiving-1.0.0.tar.gz
.
File metadata
- Download URL: django-pipeline-forgiving-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60dfaa304876d009f532e17ade881b0d81e245b9366c734ce19ede444172ab23 |
|
MD5 | fc5d00265352a287c4e856e0c22f41c2 |
|
BLAKE2b-256 | 8d89fd6a7d8e86db35d6741c1e76492d18b610c901990417682f953d941130fa |