$npx skillfedfor your agent

django-bootstrap4

Bootstrap 4 for Django

With conditionsPyPI LibrariesReleased Jan 2026401.6K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_bootstrap4-26.1-py3-none-any.whl
v26.1 · released 2026-01-03 · Python >=3.10 · 2 runtime deps: django, beautifulsoup4

Yes, if you are maintaining an existing Django + Bootstrap 4 project or building a new one that must use Bootstrap 4. The package is stable, actively receives security and bug fixes, and has low install friction. No, if you are starting a new project—use django-bootstrap5 instead, as Bootstrap 4 is superseded and this package will not gain new features.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later and a supported Django version (4.2, 5.2, or 6.0).
  • Low friction install with two straightforward runtime dependencies (django and beautifulsoup4).
  • Actively maintained with recent commits and receiving bug fixes and security updates despite being in maintenance mode for Bootstrap 4.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-01-03 (223 days) · last repo commit 2026-08-10 · 1,025 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 401,585 downloads/mo, #6,926 on PyPI

Verify before relying

pip install django-bootstrap4

# In settings.py, add to INSTALLED_APPS:
INSTALLED_APPS = (
    'bootstrap4',
)

# In your template:
{% load bootstrap4 %}
{% bootstrap_form form %}
{% buttons %}Submit{% endbuttons %}
  • Whether Bootstrap 4 EOL status affects long-term security or feature compatibility for new projects.
  • Specific migration path and effort required to upgrade existing projects from Bootstrap 4 to Bootstrap 5.
Same gist for agents: .md · .json

What it is and what it does

django-bootstrap4 is a Django template library that bridges Django forms and Bootstrap 4 styling. It provides template tags and filters that automatically render Django form fields, buttons, and other UI elements as properly styled Bootstrap 4 HTML, eliminating the need to manually write Bootstrap markup in your templates.

The package is currently in maintenance mode because Bootstrap 4 has been superseded by Bootstrap 5. This means it will receive bug fixes and security updates but no new features. It depends on django and beautifulsoup4, and requires Python 3.10 or later with a currently supported Django version. The package is straightforward to install and integrate into existing Django projects via a single INSTALLED_APPS entry.

Use it for

  • Quickly style Django forms with Bootstrap 4 classes without writing custom HTML for each field.
  • Build admin-like interfaces where form rendering consistency matters and Bootstrap 4 is your CSS framework.
  • Migrate a legacy Django project to Bootstrap 4 by replacing manual form markup with template tags.
  • Render Bootstrap 4 buttons, alerts, and other components from Django templates using provided tags.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are maintaining an existing Django + Bootstrap 4 project or building a new one that must use Bootstrap 4.

The package is stable, actively receives security and bug fixes, and has low install friction. No, if you are starting a new project—use django-bootstrap5 instead, as Bootstrap 4 is superseded and this package will not gain new features.

Install

django-bootstrap4 on PyPI

Before you install

Low friction install with two straightforward runtime dependencies (django and beautifulsoup4). Actively maintained with recent commits and receiving bug fixes and security updates despite being in maintenance mode for Bootstrap 4.

Requires Python 3.10 or later and a supported Django version (4.2, 5.2, or 6.0).

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install django-bootstrap4

# In settings.py, add to INSTALLED_APPS:
INSTALLED_APPS = (
    'bootstrap4',
)

# In your template:
{% load bootstrap4 %}
{% bootstrap_form form %}
{% buttons %}Submit{% endbuttons %}

Verify before relying

  • Whether Bootstrap 4 EOL status affects long-term security or feature compatibility for new projects.
  • Specific migration path and effort required to upgrade existing projects from Bootstrap 4 to Bootstrap 5.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
djangobeautifulsoup4
MaintenanceActively maintained 223 days since the last release
Last repo commit
First released
Downloads401,585 / month, #6,926 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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_bootstrap4-26.1-py3-none-any.whl

Tags

Capabilities
django bootstrap 4 templatesbootstrap form rendering djangodjango bootstrap componentsbootstrap4 template tagsdjango html form stylingbootstrap4 django integration
Topics
django-formsbootstrap-uimaintenance-mode
PyPI keywords
djangobootstrapbootstrap4

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 › “bootstrap4 template tags”

  • django-bootstrap4Provides Django template tags and filters to render Bootstrap 4 HTML…
  • crispy-bootstrap4Provides Bootstrap 4 HTML templates for django-crispy-forms, enabling…
  • django-classy-tagsProvides a class-based system for writing Django template tags with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

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.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also django-bootstrap3 · django-bootstrap5 · Bootstrap-Flask · crispy-bootstrap4 · django-bootstrap-form · crispy-bootstrap3 · crispy-bootstrap5 · django-bootstrap-datepicker-plus · django-crispy-forms · Flask-Bootstrap