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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab5946f226f63e024cfd6f714fb043dae07a8998099b97a12f588b43d4b9cd8d |
|
MD5 | 08231383d05cd821f75807a396ec368a |
|
BLAKE2b-256 | 01036df6a3b52ffc7fd9bd30768856257f2f19f6bb232241580d06d5ac08202e |
Close
Hashes for django_collectstatic_bower-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32daf1a886d248fbc25805a96b33223e9bc36ebd9f50d159525c4223a6d62ec2 |
|
MD5 | b73dce3d8f665d7a4c571cf7d7364ec0 |
|
BLAKE2b-256 | 0c56a0ddf739c4225ca41140d163299426231166157e55ec6da162e05540c3cd |