Skip to main content

Bootstrap5 Repackaged for Django

Project description

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>
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_js_lib_bootstrap5-5.3.2.2.tar.gz (1.5 MB view hashes)

Uploaded Source

Built Distribution

django_js_lib_bootstrap5-5.3.2.2-py2.py3-none-any.whl (1.5 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page