django bootstrap

  1. Install Django Bootstrap 4 using pip:
pip install django-bootstrap4
  1. Add 'bootstrap4' to the INSTALLED_APPS list in your Django project's settings.py file:
INSTALLED_APPS = [
    # ...
    'bootstrap4',
    # ...
]
  1. Use the {% load bootstrap %} tag at the top of the HTML template where you want to use Bootstrap 4:
{% load bootstrap %}
  1. Use the Bootstrap 4 elements and components in your HTML templates by following the Bootstrap documentation: https://getbootstrap.com/docs/4.6/getting-started/introduction/