django-bootstrap5


Namedjango-bootstrap5 JSON
Version 24.2 PyPI version JSON
download
home_pageNone
SummaryBootstrap 5 for Django
upload_time2024-04-23 05:00:56
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseBSD 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/f2/74/48395d813a39a06e36031a6f8855a24246d52a985cc52cd17bd76baa8454/django_bootstrap5-24.2.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.2",
    "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": "f4ecbe94035c59698dfdf9921ad20a7b8efba46be0b1b0f1903e7c2e71d63b81",
                "md5": "3dc8d0d1a610029087d8104c550e6430",
                "sha256": "6a5d83e9ff1952f7c07c54cebcb76c85f09787b8b57eeb4ec07554cd583acc64"
            },
            "downloads": -1,
            "filename": "django_bootstrap5-24.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3dc8d0d1a610029087d8104c550e6430",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 25283,
            "upload_time": "2024-04-23T05:00:54",
            "upload_time_iso_8601": "2024-04-23T05:00:54.914788Z",
            "url": "https://files.pythonhosted.org/packages/f4/ec/be94035c59698dfdf9921ad20a7b8efba46be0b1b0f1903e7c2e71d63b81/django_bootstrap5-24.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f27448395d813a39a06e36031a6f8855a24246d52a985cc52cd17bd76baa8454",
                "md5": "5fe0d0d48e7557ccfb4708a7e0bd4a99",
                "sha256": "a3cee2b3d45745210c5b898af2917f310f44df746269fe09a93be28a0adc2a4b"
            },
            "downloads": -1,
            "filename": "django_bootstrap5-24.2.tar.gz",
            "has_sig": false,
            "md5_digest": "5fe0d0d48e7557ccfb4708a7e0bd4a99",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 52683,
            "upload_time": "2024-04-23T05:00:56",
            "upload_time_iso_8601": "2024-04-23T05:00:56.867351Z",
            "url": "https://files.pythonhosted.org/packages/f2/74/48395d813a39a06e36031a6f8855a24246d52a985cc52cd17bd76baa8454/django_bootstrap5-24.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-23 05:00:56",
    "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"
}
        
Elapsed time: 0.23547s