crispy-bootstrap4
Bootstrap4 template pack for django-crispy-forms
What it is and what it does
crispy-bootstrap4 is a template pack that bridges django-crispy-forms and Bootstrap 4, providing pre-built HTML templates for rendering Django form fields and layouts with Bootstrap 4 classes and structure. It was originally part of django-crispy-forms but was extracted into a separate package starting with version 2.0.
When installed and configured, it allows developers to use django-crispy-forms' form rendering tags and filters to automatically output Bootstrap 4-compliant HTML without writing custom templates. The package depends on django and django-crispy-forms as its only runtime dependencies, making it a lightweight addition to existing Django projects.
Use it for:
- Render Django forms with Bootstrap 4 styling automatically without writing custom HTML templates.
- Migrate existing django-crispy-forms projects to Bootstrap 4 after the template pack was separated from core.
- Build Django admin interfaces or user-facing forms with consistent Bootstrap 4 appearance.
- Reduce boilerplate form markup by delegating layout and styling to the template pack.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Bootstrap 4 HTML templates for django-crispy-forms, enabling automatic rendering of Django forms with Bootstrap 4 styling and layout.
Yes. This is a stable, actively maintained template pack with low install friction and no known vulnerabilities. It solves a specific, well-defined problem—rendering Django forms with Bootstrap 4—and is the standard way to do so after django-crispy-forms 2.0. Install it if you use django-crispy-forms and want Bootstrap 4 styling.
Install
crispy-bootstrap4 on PyPI
pip
pip install crispy-bootstrap4uv
uv add crispy-bootstrap4poetry
poetry add crispy-bootstrap4Installing crispy-bootstrap4
Before you install
Low friction install with only two runtime dependencies (django and django-crispy-forms). Repository is actively maintained with recent commits and marked production-stable.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.
Quickstart
pip install crispy-bootstrap4
# In settings.py:
INSTALLED_APPS = [
...
"crispy_forms",
"crispy_bootstrap4",
]
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4"
CRISPY_TEMPLATE_PACK = "bootstrap4"
Requires django and django-crispy-forms to be installed first; Python 3.10 or later.
Verify before relying
- Whether this template pack supports Bootstrap 4 versions beyond the standard release cycle.
- Compatibility details with django-crispy-forms versions prior to 2.0 or after the latest tested release.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — django, django-crispy-forms |
| Maintenance | actively maintained — 184 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 430,025/month — #6,733 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: crispy_bootstrap4-2026.2-py3-none-any.whl
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
crispy-bootstrap3Provides Bootstrap 3 HTML templates for…
permissive · top 15,000 on PyPI
crispy-bootstrap5Provides Bootstrap 5 form templates and layout…
permissive · top 5,000 on PyPI
django-crispy-formsRenders Django forms programmatically with full…
permissive · top 5,000 on PyPI
Bootstrap-FlaskBootstrap-Flask provides Jinja macros that…
permissive · top 15,000 on PyPI
crispy-tailwindProvides Tailwind CSS styling templates for…
permissive · top 15,000 on PyPI
django-bootstrap-datepicker-plusProvides Bootstrap-styled date, time, and…
permissive · top 15,000 on PyPI
django-bootstrap4Provides Django template tags and filters to…
permissive · top 15,000 on PyPI
django-bootstrap3Provides 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
Flask-BootstrapFlask-Bootstrap packages Bootstrap CSS and…
permissive · top 15,000 on PyPI