Name | django-bootstrap5 JSON |
Version |
24.3
JSON |
| download |
home_page | None |
Summary | Bootstrap 5 for Django |
upload_time | 2024-09-17 14:36:35 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | BSD 3-Clause License Copyright (c) Zostera B.V. and individual contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
keywords |
django
bootstrap
bootstrap5
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# django-bootstrap5
[![CI](https://github.com/zostera/django-bootstrap5/workflows/CI/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap5/actions?workflow=CI)
[![Coverage Status](https://coveralls.io/repos/github/zostera/django-bootstrap5/badge.svg?branch=main)](https://coveralls.io/github/zostera/django-bootstrap5?branch=main)
[![Latest PyPI version](https://img.shields.io/pypi/v/django-bootstrap5.svg)](https://pypi.python.org/pypi/django-bootstrap5)
Bootstrap 5 for Django.
## Goal
The goal of this project is to seamlessly blend Django and Bootstrap 5.
## Status
Ready for production. Issues and pull requests welcome, see [CONTRIBUTING.md](CONTRIBUTING.md).
## 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-bootstrap5.readthedocs.io/
## Installation
1. Install using pip:
```console
pip install django-bootstrap5
```
2. Add to `INSTALLED_APPS` in your `settings.py`:
```python
INSTALLED_APPS = (
# ...
"django_bootstrap5",
# ...
)
```
3. In your templates, load the `django_bootstrap5` library and use the `bootstrap_*` tags. See example below.
## Example template
```jinja2
{% load django_bootstrap5 %}
<form action="/url/to/submit/" method="post" class="form">
{% csrf_token %}
{% bootstrap_form form %}
{% bootstrap_button button_type="submit" content="OK" %}
{% bootstrap_button button_type="reset" content="Cancel" %}
</form>
```
## Example app
An example app is provided in the folder `example`. You can run the example app with this command:
```console
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-bootstrap5/issues
## License
You can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details.
## Author
Developed and maintained by [Zostera](https://zostera.nl).
Original author: [Dylan Verheul](https://github.com/dyve).
Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.
Please see [AUTHORS](AUTHORS) for a list of contributors.
Raw data
{
"_id": null,
"home_page": null,
"name": "django-bootstrap5",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "django, bootstrap, bootstrap5",
"author": null,
"author_email": "Dylan Verheul <dylan@dyve.net>",
"download_url": "https://files.pythonhosted.org/packages/64/ef/c37f1c2f5a40919217251ad6b2c825bfcec0e8ed5024b5c6df874cbc8caf/django_bootstrap5-24.3.tar.gz",
"platform": null,
"description": "# django-bootstrap5\n\n[![CI](https://github.com/zostera/django-bootstrap5/workflows/CI/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap5/actions?workflow=CI)\n[![Coverage Status](https://coveralls.io/repos/github/zostera/django-bootstrap5/badge.svg?branch=main)](https://coveralls.io/github/zostera/django-bootstrap5?branch=main)\n[![Latest PyPI version](https://img.shields.io/pypi/v/django-bootstrap5.svg)](https://pypi.python.org/pypi/django-bootstrap5)\n\nBootstrap 5 for Django.\n\n## Goal\n\nThe goal of this project is to seamlessly blend Django and Bootstrap 5.\n\n## Status\n\nReady for production. Issues and pull requests welcome, see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Requirements\n\nThis package requires a combination of Python and Django that is currently supported.\n\nSee \"Supported Versions\" on https://www.djangoproject.com/download/.\n\n## Documentation\n\nThe full documentation is at https://django-bootstrap5.readthedocs.io/\n\n## Installation\n\n1. Install using pip:\n\n ```console\n pip install django-bootstrap5\n ```\n\n2. Add to `INSTALLED_APPS` in your `settings.py`:\n\n ```python\n INSTALLED_APPS = (\n # ...\n \"django_bootstrap5\",\n # ...\n )\n ```\n\n3. In your templates, load the `django_bootstrap5` library and use the `bootstrap_*` tags. See example below.\n\n## Example template\n\n```jinja2\n{% load django_bootstrap5 %}\n\n<form action=\"/url/to/submit/\" method=\"post\" class=\"form\">\n {% csrf_token %}\n\n {% bootstrap_form form %}\n\n {% bootstrap_button button_type=\"submit\" content=\"OK\" %}\n {% bootstrap_button button_type=\"reset\" content=\"Cancel\" %}\n</form>\n```\n\n## Example app\n\nAn example app is provided in the folder `example`. You can run the example app with this command:\n\n```console\nmake example\n```\n\n## Bugs and suggestions\n\nIf you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.\n\nhttps://github.com/zostera/django-bootstrap5/issues\n\n## License\n\nYou can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details.\n\n## Author\n\nDeveloped and maintained by [Zostera](https://zostera.nl).\n\nOriginal author: [Dylan Verheul](https://github.com/dyve).\n\nThanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.\n\nPlease see [AUTHORS](AUTHORS) for a list of contributors.\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License Copyright (c) Zostera B.V. and individual contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
"summary": "Bootstrap 5 for Django",
"version": "24.3",
"project_urls": {
"Changelog": "https://github.com/zostera/django-bootstrap5/blob/main/CHANGELOG.md",
"Documentation": "https://django-bootstrap5.readthedocs.io/",
"Homepage": "https://github.com/zostera/django-bootstrap5",
"Issues": "https://github.com/zostera/django-bootstrap5/issues",
"Source": "https://github.com/zostera/django-bootstrap5"
},
"split_keywords": [
"django",
" bootstrap",
" bootstrap5"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e811e5ab1d37bae5bd4e10e240c99601f450db618f6d370d75e742f9104778b9",
"md5": "b41fef91bd38326ada2b70d45870c21e",
"sha256": "98f7916f9f7f9c34dfe157f7c062a28ebf6d17ff95307bef260ba794ba34e2a0"
},
"downloads": -1,
"filename": "django_bootstrap5-24.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b41fef91bd38326ada2b70d45870c21e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 26321,
"upload_time": "2024-09-17T14:36:34",
"upload_time_iso_8601": "2024-09-17T14:36:34.299261Z",
"url": "https://files.pythonhosted.org/packages/e8/11/e5ab1d37bae5bd4e10e240c99601f450db618f6d370d75e742f9104778b9/django_bootstrap5-24.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "64efc37f1c2f5a40919217251ad6b2c825bfcec0e8ed5024b5c6df874cbc8caf",
"md5": "2ba41ea8e50d91746f0cccd9018903de",
"sha256": "ca5ec5568fc2a3fc239f0cb8ce41a7df3802b8c4af930d7f64451784ec7ddc16"
},
"downloads": -1,
"filename": "django_bootstrap5-24.3.tar.gz",
"has_sig": false,
"md5_digest": "2ba41ea8e50d91746f0cccd9018903de",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 54344,
"upload_time": "2024-09-17T14:36:35",
"upload_time_iso_8601": "2024-09-17T14:36:35.974571Z",
"url": "https://files.pythonhosted.org/packages/64/ef/c37f1c2f5a40919217251ad6b2c825bfcec0e8ed5024b5c6df874cbc8caf/django_bootstrap5-24.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-17 14:36:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zostera",
"github_project": "django-bootstrap5",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "django-bootstrap5"
}