django-bootstrap3
Bootstrap 3 for Django
What it is and what it does
django-bootstrap3 is a Django template library that wraps Bootstrap 3 components into reusable template tags, letting you render styled forms, buttons, alerts, and other UI elements without writing raw HTML. It integrates directly into Django's template system via the `bootstrap3` template tag library.
The package is now in maintenance mode because Bootstrap 3 has been superseded by Bootstrap 4 and 5. It will receive bug fixes and security updates but no new features. If you are starting a new project, the maintainers recommend using Bootstrap 5 via django-bootstrap5 instead. For existing projects still on Bootstrap 3, this package remains stable and actively maintained for critical issues.
Use it for:
- Quickly style Django forms with Bootstrap 3 classes and layout without manual HTML markup.
- Render consistent Bootstrap 3 buttons, alerts, and other components across a legacy Django application.
- Maintain an existing Django project that depends on Bootstrap 3 while receiving security and bug-fix updates.
- Prototype a Django admin interface or internal tool with Bootstrap 3 styling using template tags.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Django template tags and filters to render Bootstrap 3 HTML components (forms, buttons, alerts) with minimal boilerplate.
Yes, if you are maintaining an existing Django project on Bootstrap 3 and need ongoing bug fixes and security updates. No, if you are starting a new project—use django-bootstrap5 instead. The package is stable and actively maintained for critical issues, but the maintainers explicitly recommend migration to Bootstrap 5 when feasible.
Install
django-bootstrap3 on PyPI
pip
pip install django-bootstrap3uv
uv add django-bootstrap3poetry
poetry add django-bootstrap3Installing django-bootstrap3
Before you install
Low install friction; single dependency on django. Package is in maintenance mode—receives bug fixes and security updates only, no new features. Last release 15 days ago; repository active with 2332 stars.
License in practice
BSD-3-Clause permissive license allows commercial and private use with attribution and liability disclaimer.
Quickstart
pip install django-bootstrap3
# In settings.py INSTALLED_APPS:
INSTALLED_APPS = (
'bootstrap3',
)
# In template:
{% load bootstrap3 %}
{% bootstrap_form form %}
{% buttons %}Submit{% endbuttons %}
Requires Python >=3.10 and a currently-supported Django version (5.2, 6.0, 6.1 or later).
Verify before relying
- Whether Bootstrap 3 styling is still acceptable for new projects or if migration to Bootstrap 5 is strongly recommended.
- Specific Bootstrap 3 version bundled or expected by the package.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — django |
| Maintenance | actively maintained — 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 375,643/month — #7,136 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django_bootstrap3-26.2-py3-none-any.whl
Keywords: django, bootstrap, bootstrap3
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
django-bootstrap4Provides Django template tags and filters to…
permissive · top 15,000 on PyPI
django-bootstrap5Provides Django template tags and filters to…
permissive · top 15,000 on PyPI
crispy-bootstrap3Provides Bootstrap 3 HTML templates for…
permissive · top 15,000 on PyPI
django-bootstrap-datepicker-plusProvides Bootstrap-styled date, time, and…
permissive · top 15,000 on PyPI
crispy-bootstrap4Provides Bootstrap 4 HTML templates for…
permissive · top 15,000 on PyPI
django-bootstrap-formRenders Django form fields as Bootstrap-styled…
permissive · top 15,000 on PyPI
crispy-bootstrap5Provides Bootstrap 5 form templates and layout…
permissive · top 5,000 on PyPI
django-leafletIntegrates the Leaflet JavaScript mapping…
copyleft · top 15,000 on PyPI
Flask-BootstrapFlask-Bootstrap packages Bootstrap CSS and…
permissive · top 15,000 on PyPI
django-crispy-formsRenders Django forms programmatically with full…
permissive · top 5,000 on PyPI