{"id":15107541,"url":"https://github.com/timothy-bartlett/django-bootstrap-static","last_synced_at":"2026-01-31T02:32:21.019Z","repository":{"id":254200383,"uuid":"845767276","full_name":"timothy-bartlett/django-bootstrap-static","owner":"timothy-bartlett","description":"Bootstrap static content wrapped in a pip installable django package","archived":false,"fork":false,"pushed_at":"2024-08-22T00:11:41.000Z","size":16733,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T11:43:05.271Z","etag":null,"topics":["bootstrap","django","font-awesome","jquery"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timothy-bartlett.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"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.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-21T22:25:35.000Z","updated_at":"2024-08-22T00:11:50.000Z","dependencies_parsed_at":"2024-08-22T01:42:00.480Z","dependency_job_id":"6296d44a-48da-4d7c-b1b1-44562573be93","html_url":"https://github.com/timothy-bartlett/django-bootstrap-static","commit_stats":null,"previous_names":["timothy-bartlett/django-bootstrap-static"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/timothy-bartlett/django-bootstrap-static","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2Fdjango-bootstrap-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2Fdjango-bootstrap-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2Fdjango-bootstrap-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2Fdjango-bootstrap-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timothy-bartlett","download_url":"https://codeload.github.com/timothy-bartlett/django-bootstrap-static/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timothy-bartlett%2Fdjango-bootstrap-static/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28927180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"online","status_checked_at":"2026-01-31T02:00:09.179Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bootstrap","django","font-awesome","jquery"],"created_at":"2024-09-25T21:25:22.936Z","updated_at":"2026-01-31T02:32:20.999Z","avatar_url":"https://github.com/timothy-bartlett.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============================================\nDjango Bootstrap Static Files |latest-version|\n==============================================\n\n|bootstrap| |jquery| |fontawesome| |pipeline|\n\nBootstrap and optional Font Awesome static files ready for the picking.\n\nAlso ships the latest jQuery compatible with Bootstrap, for optional inclusion.\n\n.. |latest-version| image:: https://img.shields.io/pypi/v/django-bootstrap-static.svg\n   :alt: Latest version on PyPI\n   :target: https://pypi.python.org/pypi/django-bootstrap-static\n.. |bootstrap| image:: https://img.shields.io/badge/Bootstrap-v5.3.3-563d7c.svg\n   :alt: Bootstrap 5.3.3\n   :target: https://getbootstrap.com/\n.. |jquery| image:: https://img.shields.io/badge/jQuery-v3.7.1-0769ad.svg\n   :alt: jQuery 3.7.1\n   :target: https://jquery.com/\n.. |fontawesome| image:: https://img.shields.io/badge/Font_Awesome-v6.5.2-1c9a71.svg\n   :alt: Font Awesome 6.5.2\n   :target: https://fontawesome.com/icons?m=free\n.. |pipeline| image:: https://github.com/bittner/django-bootstrap-static/actions/workflows/pipeline.yml/badge.svg\n   :alt: Build status\n   :target: https://github.com/bittner/django-bootstrap-static/actions/workflows/pipeline.yml\n\nInstall\n=======\n\n.. code-block:: bash\n\n    pip install django-bootstrap-static\n\nConfiguration\n=============\n\nTo pickup Bootstrap static files, simply include ``'bootstrap'``, and optionally\n``'fontawesome'``, in your ``INSTALLED_APPS``:\n\n.. code-block:: python\n\n    INSTALLED_APPS = [\n        # ...\n        'bootstrap',\n        'fontawesome',\n    ]\n\nThen you can include CSS and JavaScript as usual static resources, e.g. using\n``{% static '...' %}`` in your base template as follows:\n\n.. code-block:: django\n\n    {% load static %}\n    \u003chead\u003e\n        \u003clink rel=\"stylesheet\" href=\"{% static 'bootstrap/css/bootstrap.min.css' %}\"\u003e\n        \u003cscript defer src=\"{% static 'fontawesome/js/all.min.js' %}\"\u003e\u003c/script\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        ...\n        \u003cscript src=\"{% static 'bootstrap/js/jquery.min.js' %}\"\u003e\u003c/script\u003e\n        \u003cscript src=\"{% static 'bootstrap/js/bootstrap.bundle.min.js' %}\"\u003e\u003c/script\u003e\n    \u003c/body\u003e\n\nNote that in the above code sample we use SVG powered Font Awesome, as\nrecommended by their docs.  You can use Font Awesome the classic way by\nreplacing the ``\u003cscript ...\u003e`` tag in the ``\u003chead\u003e`` section above by:\n\n.. code-block:: django\n\n    \u003clink rel=\"stylesheet\" href=\"{% static 'fontawesome/css/all.min.css' %}\"\u003e\n\nIf you don't use Bootstrap features that require ``Popper.js`` (e.g. dropdowns,\npopovers, tooltips) you can include ``bootstrap.min.js`` instead of the bundle\nto save a few kilobytes of bandwidth.\n\nMore details on integration may be available from each of the two projects:\n\n- https://getbootstrap.com/docs/5.3/getting-started/introduction/\n- https://fontawesome.com/get-started (`Upgrading from Version 4 of Font Awesome`_)\n\n.. _Upgrading from Version 4 of Font Awesome:\n    https://fontawesome.com/get-started/web-fonts-with-css#upgrading\n\nContribution\n============\n\nOccasionally, I forget to update this package with new bootstrap updates.\nPlease feel free to submit a PR.\n\nSources and Procedures\n----------------------\n\nBootstrap: (all files from dist package)\n    `Bootstrap website / Download`_ ➜ drop into ``bootstrap/static/bootstrap/``\njQuery: (compressed, uncompressed, map)\n    `jQuery website / Download`_ ➜ rename and mix into ``bootstrap/static/bootstrap/js/``\n\n    Pick the latest version denoted as a dependency in ``bower.json`` (see `Dependencies`_).\nFont Awesome: (content of the ``on-server/`` folder only)\n    `Font Awesome website / Download Free`_ ➜ drop into ``fontawesome/static/fontawesome/``\n\nTests\n-----\n\nTests are great! And necessary. Please, add more. More is better!\nWe use `Tox`_.\n\n.. code-block:: console\n\n    pip install tox\n\nRun all the linting and tests locally using Tox like this:\n\n.. code-block:: console\n\n    tox\n\n.. code-block:: console\n\n    tox list\n    tox -e package\n    tox -e py310,clean\n    tox -e format -- tests\n\nReleases\n========\n\nTo stay aligned with the Bootstrap release schedule we will keep version\nnumbers of this app in sync with the bootstrap Major.Minor.Revision changes\n(`semver`_).  The additional version number will be added at the end to denote\na new change within this package itself, e.g.\n\n``django-bootstrap-static==3.3.1.1`` == Bootstrap ``3.3.1`` with an additional\npackage change.\n\n.. _Bootstrap website / Download: https://getbootstrap.com/\n.. _jQuery website / Download: https://jquery.com/download/\n.. _Dependencies: https://getbootstrap.com/docs/5.0/getting-started/javascript/\n.. _Font Awesome website / Download Free: https://fontawesome.com/\n.. _Tox: https://tox.wiki/\n.. _semver: https://semver.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothy-bartlett%2Fdjango-bootstrap-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothy-bartlett%2Fdjango-bootstrap-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothy-bartlett%2Fdjango-bootstrap-static/lists"}