django-bootstrap-form
django-bootstrap-form
What it is and what it does
django-bootstrap-form is a Django template tag library that automatically renders form fields with Bootstrap CSS classes and markup. It provides three template filters—bootstrap, bootstrap_inline, and bootstrap_horizontal—to style forms in different layouts without writing custom HTML for each field.
The package is a thin wrapper around Django's form rendering system, designed to integrate Bootstrap styling into templates with minimal code. It has no runtime dependencies and is installed as a Django app. However, the project is dormant: the latest release was 2018-03-15, and the classifiers declare support only for Python 2.7 and Python 3.4, 3.5, 3.6, all end-of-life versions. Using it on modern Python and Django versions carries compatibility risk.
Use it for:
- Quickly style a Django form with Bootstrap classes without writing custom form templates for each field.
- Convert an existing Django form to a Bootstrap-styled vertical, inline, or horizontal layout in a template.
- Prototype a Django admin or user-facing form with Bootstrap styling for rapid development.
- Maintain a legacy Django project that already uses this package and Bootstrap.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Renders Django form fields as Bootstrap-styled HTML using a simple template tag, supporting vertical, inline, and horizontal form layouts.
No, unless you are maintaining a legacy Django project already using this package. The package is dormant (last release 2018-03-15), declares support only for end-of-life Python versions (2.7, 3.4, 3.5, 3.6), and offers no assurance of compatibility with modern Django or Python. Modern alternatives or direct Bootstrap integration in templates are safer choices for new projects.
Install
django-bootstrap-form on PyPI
pip
pip install django-bootstrap-formuv
uv add django-bootstrap-formpoetry
poetry add django-bootstrap-formInstalling django-bootstrap-form
Before you install
High install friction: the package is dormant (last commit 2024-03-07, 3074 days since release) and declares support only for Python 2.7 and Python 3.4, 3.5, 3.6, all of which are end-of-life.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution.
Quickstart
# Install
pip install django-bootstrap-form==3.4
# In Django settings.py
INSTALLED_APPS = [
'bootstrapform',
# ...
]
# In template
{% load bootstrap %}
<form>
{% csrf_token %}
{{ form|bootstrap }}
<button type="submit">Submit</button>
</form>
Requires Django and a compatible Python version; package classifiers list only Python 2.7 and 3.4, 3.5, 3.6, all end-of-life. Compatibility with modern Python and Django versions is unverified.
Verify before relying
- Whether this package works with current Django versions despite classifiers listing only Python 3.4–3.6
- Whether Bootstrap 3 (implied by the package age) is still suitable for your project or if Bootstrap 4/5 support is needed
- Current maintenance status and whether security patches or compatibility updates are planned
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 3,074 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 195,349/month — #9,817 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: django-bootstrap-form-3.4.tar.gz
Keywords: bootstrap
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
django-bootstrap5Provides Django template tags and filters to…
permissive · top 15,000 on PyPI
django-bootstrap4Provides Django template tags and filters to…
permissive · top 15,000 on PyPI
Flask-BootstrapFlask-Bootstrap packages Bootstrap CSS and…
permissive · top 15,000 on PyPI
django-bootstrap-datepicker-plusProvides Bootstrap-styled date, time, and…
permissive · top 15,000 on PyPI
django-bootstrap3Provides Django template tags and filters to…
permissive · top 15,000 on PyPI
crispy-bootstrap5Provides Bootstrap 5 form templates and layout…
permissive · top 5,000 on PyPI
crispy-bootstrap3Provides Bootstrap 3 HTML templates for…
permissive · top 15,000 on PyPI
Bootstrap-FlaskBootstrap-Flask provides Jinja macros that…
permissive · top 15,000 on PyPI
django-jazzminA drop-in Django admin theme that reskins the…
permissive · top 15,000 on PyPI
django-crispy-formsRenders Django forms programmatically with full…
permissive · top 5,000 on PyPI