No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
django_forgiving_collectstatic
.gitignore
CHANGELOG.txt
LICENSE.txt
MANIFEST.in
README.md
setup.py

README.md

django-forgiving-collectstatic

An extension of the django.contrib.staticfiles.storage.ManifestStaticFilesStorage that skips missing files and assets during the python manage.py collectstatic command run.

Based on the tutorial I wrote on my blog Make Django's collectstatic command forgiving.

Installation

Use pip:

pip install django-forgiving-collectstatic

Usage

Set in your settings.py:

STATICFILES_STORAGE = 'django_forgiving_collectstatic.storages.ForgivingManifestStaticFilesStorage'

Credits

Contributed by Tim Kamanin.