Custom collectstatic for django with ignoring commonly copied unnecessary files
Project description
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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-collect-and-ignore-0.1.2.tar.gz.
File metadata
- Download URL: django-collect-and-ignore-0.1.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62bc099980070072d77ba0693fab9b9e2653822a03098fc1494b0d62b60e60bd
|
|
| MD5 |
068c7dae510f4f67bf07858687047b28
|
|
| BLAKE2b-256 |
4ee67ad543e84778b855d7cba1a536873b38fd8b5f7bebb426b8be37d5040dec
|