I am currently working with two apps in my project: Home and Header.
The HTML code for the Home app can be found in project_folder -> home -> templates -> home -> base_home.html
{% extends 'header/base_header.html' %}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
</head>
<body>
<header>
{% block content %}
{% endblock %}
</header>
</body>
</html>
The Header is located in project_folder -> header -> templates -> header -> base_header.html:
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
...
</form>
This is the settings.py:
import os
from pathlib import Path
...
And also the project tree in PyCharm (maybe this visual is easier to read than the good old cmd tree):
My issue is that my project is not loading the CSS properly, only displaying the HTML of the navbar.
Thank you for your assistance and time!