{"id":13599078,"url":"https://github.com/zostera/django-bootstrap4","last_synced_at":"2025-04-25T14:45:18.506Z","repository":{"id":38206440,"uuid":"89379547","full_name":"zostera/django-bootstrap4","owner":"zostera","description":"Bootstrap 4 integration with Django.","archived":false,"fork":false,"pushed_at":"2025-03-17T09:38:40.000Z","size":1297,"stargazers_count":1027,"open_issues_count":18,"forks_count":260,"subscribers_count":36,"default_branch":"main","last_synced_at":"2025-04-24T08:36:33.172Z","etag":null,"topics":["bootstrap4","django","python"],"latest_commit_sha":null,"homepage":"https://django-bootstrap4.readthedocs.io/","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,"zenodo":null}},"created_at":"2017-04-25T15:55:15.000Z","updated_at":"2025-04-21T22:09:44.000Z","dependencies_parsed_at":"2023-12-28T10:28:54.983Z","dependency_job_id":"9696a71b-8080-4a88-8b7e-55713096ba5c","html_url":"https://github.com/zostera/django-bootstrap4","commit_stats":{"total_commits":1057,"total_committers":137,"mean_commits":"7.7153284671532845","dds":0.5373699148533586,"last_synced_commit":"73c00f56e398e58b8222e1d3d6b126feaba1db8b"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zostera%2Fdjango-bootstrap4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zostera","download_url":"https://codeload.github.com/zostera/django-bootstrap4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250836532,"owners_count":21495394,"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":["bootstrap4","django","python"],"created_at":"2024-08-01T17:00:59.510Z","updated_at":"2025-04-25T14:45:18.488Z","avatar_url":"https://github.com/zostera.png","language":"Python","readme":"# django-bootstrap 4\n\n[![Tests](https://github.com/zostera/django-bootstrap4/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap4/actions?query=workflow%3Atest+branch%3Amain)\n[![Coverage Status](https://coveralls.io/repos/github/zostera/django-bootstrap4/badge.svg?branch=main)](https://coveralls.io/github/zostera/django-bootstrap4?branch=main)\n[![Latest PyPI version](https://img.shields.io/pypi/v/django-bootstrap4.svg)](https://pypi.python.org/pypi/django-bootstrap4)\n\nBootstrap 4 for Django.\n\n## Goal\n\nThe goal of this project is to seamlessly blend Django and Bootstrap 4.\n\n## Roadmap\n\nBootstrap 4 has 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.\n\nFor Bootstrap 5, please refer to our dedicated package: [django-bootstrap5](https://github.com/zostera/django-bootstrap5).\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-bootstrap4.readthedocs.io/\n\n## Installation\n\n1. Install using pip:\n\n```bash\npip install django-bootstrap4\n```\n\n   Alternatively, you can install download or clone this repo and call ``pip install -e .``.\n\n2. Add to `INSTALLED_APPS` in your `settings.py`:\n\n```python\nINSTALLED_APPS = (\n  # ...\n  \"bootstrap4\",\n  # ...\n)\n```\n\n3. In your templates, load the `bootstrap4` library and use the `bootstrap_*` tags. See example below.\n\n## Example template\n\n```jinja\n{% load bootstrap4 %}\n\n{# Display a form #}\n\n\u003cform action=\"/url/to/submit/\" method=\"post\" class=\"form\"\u003e\n    {% csrf_token %}\n    {% bootstrap_form form %}\n    {% buttons %}\n        \u003cbutton type=\"submit\" class=\"btn btn-primary\"\u003eSubmit\u003c/button\u003e\n    {% endbuttons %}\n\u003c/form\u003e\n```\n\n## Example\n\nAn example application app is provided in `example`. You can run it with `make example`.\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-bootstrap4/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":["资源列表","Forms","HarmonyOS","Python","Django Utilities","表单","Forms [🔝](#readme)"],"sub_categories":["表单","Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostera%2Fdjango-bootstrap4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzostera%2Fdjango-bootstrap4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzostera%2Fdjango-bootstrap4/lists"}