Skip to main content

Custom collectstatic for django with ignoring commonly copied unnecessary files

Project description

django-collect-and-ignore

Open Source Love license PyPI PyPI - Python Version Last Commit

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 settings:

  • 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.

Project details


Download files

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

Files for django-collect-and-ignore, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django-collect-and-ignore-0.1.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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