--- id: crispy-bootstrap4 version: "2026.2" license: MIT license_treatment: permissive maintenance: active --- # crispy-bootstrap4 — Bootstrap4 template pack for django-crispy-forms License: permissive · Maintenance: active · Downloads: 430.0K/mo ## 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 above — 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 pip install crispy-bootstrap4 uv add crispy-bootstrap4 poetry add crispy-bootstrap4 ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 430.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django form bootstrap styling, crispy forms bootstrap4 templates, django bootstrap form rendering, form layout bootstrap django, crispy bootstrap template pack, django form html templates, bootstrap form components django, django-forms, bootstrap-ui [View on SkillFed](https://skillfed.io/packages/crispy-bootstrap4) · [View on PyPI](https://pypi.org/project/crispy-bootstrap4/)