Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

An extension of the django-pipeline storage backend which forgives missing files

Project description

https://badge.fury.io/py/django-pipeline-forgiving.png https://pypip.in/d/django-pipeline-forgiving/badge.png

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

This version
History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-pipeline-forgiving-1.0.0.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Aug 29, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page