Hi there, can anybody tell me, why I can use Bootstrap functions like collapse or carousel when using linked files and stop working if i use same files from static directory ?
the relevant part of my base.html:
<!DOCTYPE html>
<html lang="de">
<head>
<title>{% block title %}{% endblock %}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% load static %}
{% load django_bootstrap5 %}
{% load bootstrap_icons %}
{% bootstrap_css %}
{% bootstrap_javascript %}
<link href="{% static 'fontawesomefree/css/fontawesome.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'fontawesomefree/css/solid.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'fontawesomefree/css/all.min.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'klinikXdatabase/css/bootstrap.min.css' %}" rel="stylesheet" type="text/css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</head>
with this, everything is fine. if i try to change the linked .js files in stored ones in static directory by changing code in
<script src="{% static 'klinikXdatabase/js/jquery-3.2.1.slim.min.js' %}"></script>
<script src="{% static 'klinikXdatabase/js/popper.min.js' %}" ></script>
<script src="{% static 'klinikXdatabase/js/bootstrap.min.js' %}"></script>
functionality is gone… ?? The directorys and the STATIC Specifications in settings.py are correct, the static css files get loaded properly…