Skip to content

nonZero/django-js-lib-bootstrap5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap5 Repackaged for Django

Bootstrap5 packaged in a Django reusable app.

This package includes only the original JS and CSS files.

Installation

pip install django-js-lib-bootstrap5

Usage

  1. Add "js_lib_bootstrap5" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        "js_lib_bootstrap5",
        ...
    ]
    
  2. In your template use:

    {% load static %}
    

    ...

    <link rel="stylesheet" href="{% static "js-lib-bootstrap5/css/bootstrap.css" %}">
    

    ...

    <script src="{% static "js-lib-bootstrap5/js/bootstrap.js" %}"></script>
    

About

Bootstrap5 Repackaged for Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published