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
Close
Hashes for django-collect-and-ignore-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d64bd73c7d38cf7e1cc9034ea5e0d7417ca9904be5390662d91a6d126a0ec32f |
|
MD5 | 3828f440de6c9ae9d2000b6d34e7d9a8 |
|
BLAKE2b-256 | 54b7eb07d5492a2278e9c96b589128501c5b85d70dbaed1a2cddc09c38bb7924 |