Automatically install Bower components using Django's collectstatic
Project description
Django static file finder that automatically runs bower install and collects components when running Django’s collectstatic
Respects .bowerrc directory config when collecting files
Tested on python 2.7 and 3.5
Install
Pip install package
pip install django-collectstatic-bower
Add to STATICFILE_FINDERS:
STATICFILE_FINDERS = ( ... 'django_collectstatic_bower.staticfiles.finders.BowerComponentFinder', )
That’s it, just collectstatic files like normal
./manage.py collectstatic
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
Built Distribution
File details
Details for the file django-collectstatic-bower-0.1.1.tar.gz
.
File metadata
- Download URL: django-collectstatic-bower-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a084a7fb22e62ecd595126435c928e41e53d4616c769f5060782c601984060dc |
|
MD5 | bed137cbc94e48d33b3d773bf004c510 |
|
BLAKE2b-256 | ba8fbfe27ad5a61e10ca441140542dee275639d64e51ec82790470822fd4cff2 |
Provenance
File details
Details for the file django_collectstatic_bower-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_collectstatic_bower-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ee0203206349cd454d9674946aabdbb0a8b3dee230c6b41016a4b8c5b2d983 |
|
MD5 | 217998c9db9a30130cce43b48626d751 |
|
BLAKE2b-256 | f627506a75b40a23297efd642570c2c9405f8f7f85e62341b18859491915c6ed |