django-bootstrap5
Bootstrap 5 for Django
Decision gist · record as of 2026-08-14
Yes. Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make this a safe choice. It directly solves the common problem of integrating Bootstrap 5 into Django templates. Install it if you are building a Django application and want Bootstrap styling without hand-coding markup.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django version currently supported by the Django project (4.2, 5.2, or 6.0) and Python 3.10 or later.
- Low friction: pure Python wheel, single runtime dependency on django.
- Actively maintained with recent commits; marked production-ready and supports current Django versions (4.2, 5.2, 6.0) and Python 3.10–3.14.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you may use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions, provided you retain the license notice.
last release 2026-02-08 (187 days) · last repo commit 2026-08-10 · 450 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 440,666 downloads/mo, #6,647 on PyPI
Alternatives
Verify before relying
pip install django-bootstrap5
# In settings.py, add to INSTALLED_APPS:
INSTALLED_APPS = (
"django_bootstrap5",
)
# In a template:
{% load django_bootstrap5 %}
{% bootstrap_form form %}
{% bootstrap_button button_type="submit" content="OK" %}- Whether Bootstrap 5 CSS/JS must be included separately in the template or if this package bundles it.
- Support for custom Bootstrap theming or variable overrides beyond default styling.
- Performance impact when rendering large forms or complex Bootstrap components.
What it is and what it does
django-bootstrap5 is a Django app that bridges Django's form rendering and Bootstrap 5's component library. It provides template tags like `bootstrap_form`, `bootstrap_button`, and others that automatically wrap Django form fields and UI elements in Bootstrap-compliant HTML, eliminating the need to hand-code Bootstrap classes and structure in templates.
The package is designed for developers building Django web applications who want Bootstrap 5 styling without manually writing Bootstrap markup. It integrates as a single runtime dependency (django) and is installed as a Django app in INSTALLED_APPS. The template tags handle form rendering, button styling, and other common Bootstrap components, reducing boilerplate and keeping templates cleaner.
Use it for
- Quickly style Django forms with Bootstrap 5 without writing custom HTML for each form field.
- Build consistent, responsive admin or user-facing interfaces using Bootstrap components in Django templates.
- Reduce template boilerplate by replacing manual Bootstrap class markup with simple template tags.
- Maintain a uniform look across a Django project by centralizing Bootstrap component rendering.
- Prototype or iterate on Django UIs rapidly without custom CSS or HTML scaffolding.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make this a safe choice. It directly solves the common problem of integrating Bootstrap 5 into Django templates. Install it if you are building a Django application and want Bootstrap styling without hand-coding markup.
Install
django-bootstrap5 on PyPI
Before you install
Low friction: pure Python wheel, single runtime dependency on django. Actively maintained with recent commits; marked production-ready and supports current Django versions (4.2, 5.2, 6.0) and Python 3.10–3.14.
Requires Django version currently supported by the Django project (4.2, 5.2, or 6.0) and Python 3.10 or later.
License in practice
BSD-3-Clause is permissive; you may use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions, provided you retain the license notice.
Quickstart
pip install django-bootstrap5
# In settings.py, add to INSTALLED_APPS:
INSTALLED_APPS = (
"django_bootstrap5",
)
# In a template:
{% load django_bootstrap5 %}
{% bootstrap_form form %}
{% bootstrap_button button_type="submit" content="OK" %}
Verify before relying
- Whether Bootstrap 5 CSS/JS must be included separately in the template or if this package bundles it.
- Support for custom Bootstrap theming or variable overrides beyond default styling.
- Performance impact when rendering large forms or complex Bootstrap components.
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 packagedjango |
| Maintenance | Actively maintained 187 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 440,666 / month, #6,647 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: LibrariesTopic :: Utilities |
Evidence: django_bootstrap5-26.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “bootstrap components django”
- django-bootstrap5Provides Django template tags and filters to render Bootstrap 5…
- django-bootstrap3Provides Django template tags and filters to render Bootstrap 3 HTML…
- django-bootstrap4Provides Django template tags and filters to render Bootstrap 4 HTML…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also django-bootstrap-form · django-bootstrap3 · django-bootstrap4 · Bootstrap-Flask · django-navhelper · crispy-bootstrap5 · django-bootstrap-datepicker-plus · crispy-bootstrap4 · crispy-bootstrap3 · django-leaflet