Installing frontend Django dependencies via bower.
To get the latest stable release from PyPi
$ pip install jack-bowerAdd bower to your INSTALLED_APPS
INSTALLED_APPS = (
...,
'bower',
)Use ./manage.py bower_init <app_name> to bootstrap an app with
a bower.json. Add your dependencies to it:
{
"dependencies": {
"backbone": "1.0.0",
"underscore": "1.4.4"
}
}Then just run ./manage.py bower_install and it'll install all the
dependencies in all the INSTALLED_APPS apps that has a
bower.json. Add a .bowerrc file in your project root to control where
packages are installed.