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
Close
Hashes for django-collectstatic-bower-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa3f359a8a8e58dcc38f0da4a3027b0f9dd9722399ae79140970b8277017fba0 |
|
MD5 | 2ce42f15448b5ddf1a778ec13904b8ab |
|
BLAKE2b-256 | 3259a5cddb2cf3aef8be71887135be7df83f379df7308c4284604e79cb68870d |
Close
Hashes for django_collectstatic_bower-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccfb782f24e36157957170b4d42a6846ec003df423367966abab6455c7b7a8d2 |
|
MD5 | a84a4ce27c128bed54dfef98db154441 |
|
BLAKE2b-256 | d71fdf5ae53bee34c05265469792ca56c43fb6a9a76010da0aceb55de4462736 |