Bootstrap 3 for Django
Project description
django-bootstrap3
Bootstrap 3 for Django.
Goal
The goal of this project is to seamlessly blend Django and Bootstrap 3.
Maintenance Mode
Bootstrap 3 has been superseded by Bootstrap 4, which has since been superseded by Bootstrap 5. As a result, this package is now in maintenance mode and will only receive bug fixes and security updates. No new features or enhancements will be added. We recommend that new projects use Bootstrap 5 and encourage existing projects to consider migrating when feasible.
For Bootstrap 4, please refer to our dedicated package: django-bootstrap4.
For Bootstrap 5, please refer to our dedicated package: django-bootstrap5.
For icons, we recommend our dedicated package: django-icons.
Requirements
This package requires a combination of Python and Django that is currently supported.
See "Supported Versions" on https://www.djangoproject.com/download/.
Documentation
The full documentation is at https://django-bootstrap3.readthedocs.io/
Installation
-
Install using pip:
pip install django-bootstrap3
Alternatively, you can install download or clone this repo and call
pip install -e .. -
Add to
INSTALLED_APPSin yoursettings.py:INSTALLED_APPS = ( # ... "bootstrap3", # ... )
-
In your templates, load the
bootstrap3library and use thebootstrap_*tags:
Example template
{% load bootstrap3 %}
{# Display a form #}
<form action="/url/to/submit/" method="post" class="form">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
{% endbuttons %}
</form>
Example app
An example app is provided in example. You can run it with make example.
Bugs and suggestions
If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.
https://github.com/zostera/django-bootstrap3/issues
License
You can use this under BSD-3-Clause. See LICENSE file for details.
Author
Developed and maintained by Zostera.
Original author: Dylan Verheul.
Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.
Please see AUTHORS for a list of contributors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_bootstrap3-25.3.tar.gz.
File metadata
- Download URL: django_bootstrap3-25.3.tar.gz
- Upload date:
- Size: 41.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad7a4eb7ac472a38c053b749ebd0a0b4288ff73c321018c19a36027904e5089a
|
|
| MD5 |
df39b1be0262b16f46b2880aa22be318
|
|
| BLAKE2b-256 |
fd0d457333edb08c18f63e1779b58a284530cac0ac1333fe495a8c82898115f8
|
File details
Details for the file django_bootstrap3-25.3-py3-none-any.whl.
File metadata
- Download URL: django_bootstrap3-25.3-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4b04ca0bdcc23cbe471a7101f6f049c43849619ec3a9176f4e9bc002cb01257
|
|
| MD5 |
2894397753bd7ff9b96416df1b8d6c42
|
|
| BLAKE2b-256 |
41a0f6a39c2e85bdab8d13764c8de3f1e798e7a7618fb92b71e1226301b2dc2f
|