django-collect-and-ignore

Custom collectstatic for django with ignoring commonly copied unnecessary files

MIT License

Downloads
62
Stars
2
Committers
2

django-collect-and-ignore

Custom collectstatic for django with ignoring commonly copied unnecessary files

Installation

Available via PyPi, supports Python 2.x and 3.x.

pip install django-collect-and-ignore

Usage

./manage.py collect_and_ignore --additional_options

Can be tweaked from django settings by adding optional parameters:

  • COLLECT_AND_IGNORE_PATTERNS [patters to ignore, needs to be a list of strings]
  • COLLECT_AND_IGNORE_NO_INPUT [wheter to ask for input, boolean, default is False]
DEFAULT_PATTERNS = [
    '__tests__',
    'tests',
    '*.test.js',
    '*.scss',
    '*.less',
    'config.rb'
]

License

MIT.

Package Rankings
Top 33.59% on Pypi.org
Badges
Extracted from project README
Open Source Love license PyPI PyPI - Python Version Last Commit
Related Projects