--- id: django-bootstrap-form version: "3.4" license: MIT license_treatment: permissive maintenance: dormant --- # django-bootstrap-form — django-bootstrap-form License: permissive · Maintenance: dormant · Downloads: 195.3K/mo ## 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 above — 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 pip install django-bootstrap-form uv add django-bootstrap-form poetry add django-bootstrap-form ## Installing 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 %}
{% csrf_token %} {{ form|bootstrap }}
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: unspecified - Install friction: high - Maintenance: dormant - Downloads: 195.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django form bootstrap styling, bootstrap form template tag, django bootstrap form rendering, bootstrap css form integration, django form html templates, bootstrap form layouts django, django-forms, bootstrap-css, template-tags [View on SkillFed](https://skillfed.io/packages/django-bootstrap-form) · [View on PyPI](https://pypi.org/project/django-bootstrap-form/)