{"id":15024362,"url":"https://github.com/zostera/django-bootstrap5","last_synced_at":"2025-05-14T07:08:32.087Z","repository":{"id":37791033,"uuid":"347981822","full_name":"zostera/django-bootstrap5","owner":"zostera","description":"Bootstrap 5 for Django","archived":false,"fork":false,"pushed_at":"2025-05-12T20:48:45.000Z","size":1542,"stargazers_count":429,"open_issues_count":40,"forks_count":87,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-12T21:43:29.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zostera.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-15T13:32:45.000Z","updated_at":"2025-05-12T20:48:49.000Z","dependencies_parsed_at":"2023-11-09T16:29:54.787Z","dependency_job_id":"749a6c85-0362-48b7-9e51-7ab4794460f6","html_url":"https://github.com/zostera/django-bootstrap5","commit_stats":{"total_commits":1216,"total_committers":154,"mean_commits":7.896103896103896,"dds":0.6817434210526316,"last_synced_commit":"5cdcf8a6c50e7f7ff755ce6991a39e2d0d2697fb"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zostera","download_url":"https://codeload.github.com/zostera/django-bootstrap5/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092775,"owners_count":22013290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:00:11.188Z","updated_at":"2025-05-14T07:08:32.064Z","avatar_url":"https://github.com/zostera.png","language":"Python","readme":"# django-bootstrap5\n\n[![Tests](https://github.com/zostera/django-bootstrap5/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap5/actions?workflow=test)\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\nThis package uses [uv](https://github.com/astral-sh/uv) and [just](https://github.com/casey/just) for local development.\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\u003cform action=\"/url/to/submit/\" method=\"post\" class=\"form\"\u003e\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\u003c/form\u003e\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\njust 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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostera%2Fdjango-bootstrap5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzostera%2Fdjango-bootstrap5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostera%2Fdjango-bootstrap5/lists"}