skillfed

django-bootstrap3

Bootstrap 3 for Django

django-bootstrap3 v26.2 375.6K downloads/30d#7,136 on PyPI2,332
Permissive license BSD-3-Clause Active released

What it is and what it does

django-bootstrap3 is a Django template library that wraps Bootstrap 3 components into reusable template tags, letting you render styled forms, buttons, alerts, and other UI elements without writing raw HTML. It integrates directly into Django's template system via the `bootstrap3` template tag library.

The package is now in maintenance mode because Bootstrap 3 has been superseded by Bootstrap 4 and 5. It will receive bug fixes and security updates but no new features. If you are starting a new project, the maintainers recommend using Bootstrap 5 via django-bootstrap5 instead. For existing projects still on Bootstrap 3, this package remains stable and actively maintained for critical issues.

Use it for:

  • Quickly style Django forms with Bootstrap 3 classes and layout without manual HTML markup.
  • Render consistent Bootstrap 3 buttons, alerts, and other components across a legacy Django application.
  • Maintain an existing Django project that depends on Bootstrap 3 while receiving security and bug-fix updates.
  • Prototype a Django admin interface or internal tool with Bootstrap 3 styling using template tags.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Django template tags and filters to render Bootstrap 3 HTML components (forms, buttons, alerts) with minimal boilerplate.

Yes, if you are maintaining an existing Django project on Bootstrap 3 and need ongoing bug fixes and security updates. No, if you are starting a new project—use django-bootstrap5 instead. The package is stable and actively maintained for critical issues, but the maintainers explicitly recommend migration to Bootstrap 5 when feasible.

Install

django-bootstrap3 on PyPI

pip

pip install django-bootstrap3

uv

uv add django-bootstrap3

poetry

poetry add django-bootstrap3

Installing django-bootstrap3

Before you install

Low install friction; single dependency on django. Package is in maintenance mode—receives bug fixes and security updates only, no new features. Last release 15 days ago; repository active with 2332 stars.

License in practice

BSD-3-Clause permissive license allows commercial and private use with attribution and liability disclaimer.

Quickstart

pip install django-bootstrap3

# In settings.py INSTALLED_APPS:
INSTALLED_APPS = (
    'bootstrap3',
)

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

Requires Python >=3.10 and a currently-supported Django version (5.2, 6.0, 6.1 or later).

Verify before relying

  • Whether Bootstrap 3 styling is still acceptable for new projects or if migration to Bootstrap 5 is strongly recommended.
  • Specific Bootstrap 3 version bundled or expected by the package.

Package facts

License BSD-3-Clause (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 1 — django
Maintenance actively maintained — 15 days since the last release
Last repo commit
First released
Downloads 375,643/month — #7,136 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: django_bootstrap3-26.2-py3-none-any.whl

Keywords: django, bootstrap, bootstrap3

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 5.2Framework :: Django :: 6.0Framework :: Django :: 6.1Intended 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

Tags

django bootstrap form renderingbootstrap 3 template tagsdjango form stylingbootstrap html components djangodjango bootstrap templatesbootstrap form integration django
django-templatesbootstrap-legacymaintenance-mode

More Libraries packages