timonweb / django-forgiving-collectstatic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:Python 100.0%