django-bower is a Django app that lets you manage your front-end dependencies using Bower right from your Django project. Instead of manually dropping JavaScript and CSS libraries into your static folders, you declare them as Bower packages and let the app install them to a known location. It then provides Django settings and template tags to point STATICFILES_DIRS or STATIC_ROOT to those installed components. This keeps the back-end and front-end dependency story unified, versioned, and repeatable across environments. It’s especially useful for teams that used Bower-era front-end stacks and wanted to keep Django projects tidy and deployable. The app focuses on being predictable, configurable, and compatible with Django’s staticfiles pipeline.
Features
- Manage front-end libraries as Bower packages inside Django
- Automatic install/update of components to a static-aware directory
- Integration with Django staticfiles for collectstatic workflows
- Template tags/helpers to reference installed components
- Project-level configuration via Django settings
- Repeatable, environment-friendly setup for front-end assets