, но тот же проект отлично работает на моем ноутбуке
это мои настройки (отладка верна)
STATIC_URL = '/static/'
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static', os.path.join(BASE_DIR, 'demo/static')),
)
STATIC_ROOT = os.path.join(BASE_DIR, '/static')
Это URL
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('demo/', include('demo.urls')),
]
Это моя html страница шаблона
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/png" href="{% static
"images/icons/favicon.ico" %}">
<link rel="stylesheet" type="text/css" href="{% static
"vendor/bootstrap/css/bootstrap.min.css" %}" >
<link rel="stylesheet" type="text/css" href="{% static
"vendor/daterangepicker/daterangepicker.css" %}" >
<link rel="stylesheet" type="text/css" href="{% static "css/util.css" %}" >
<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}" >
</head>
<body>
<div class="limiter">
<div class="container-login100" style="background-image: url({% static
'images/siva2.jpg' %});">
<div class="wrap-login100 p-t-30 p-b-50">
<span class="login100-form-title p-b-41">
ropDownSelect1"></div>
<script src="{% static "vendor/daterangepicker/daterangepicker.js" %}" >
<script src="{% static "js/main.js" %}" ></script>
в терминале, я могу видеть только получение изображений, нет никакого результата получения css файлов и других
Вот мой логин в Терминале
[04 / Feb / 2020 12:53:24] "GET / demo / home / HTTP / 1.1" 200 4656 [04 / Feb / 2020 12:53:24] " GET /static/images/icons/favicon.ico HTTP / 1.1 "200 32038 [04 / Feb / 2020 12:53:30]" GET / demo / home / HTTP / 1.1 "200 4656 [04 / Feb / 2020 12: 53:30] «GET /static/images/icons/favicon.ico HTTP / 1.1» 200 32038 [04 / Feb / 2020 12:53:30] «GET / demo / home / HTTP / 1.1» 200 4656 [04 / Feb / 2020 12:53:31] «GET /static/images/icons/favicon.ico HTTP / 1.1» 200 32038 [04 / Feb / 2020 12:53:31] «GET / demo / home / HTTP / 1.1» 200 4656 [04 / Feb / 2020 12:53:31] «GET /static/images/icons/favicon.ico HTTP / 1.1» 200 32038 [04 / Feb / 2020 12:53:31] «GET / demo / home / HTTP / 1.1 "200 4656 [04 / Feb / 2020 12:53:31] «GET /static/images/icons/favicon.ico HTTP / 1.1» 200 32038 [04 / Feb / 2020 12:53:31] «GET / demo / home / HTTP / 1.1» 200 4656 [04 / Feb / 2020 12:53:31] «GET /static/images/icons/favicon.ico HTTP / 1.1» 200 32038 [04 / Feb / 2020 12:53:31] «GET / demo / home / HTTP / 1.1 "200 4656 [04 / Feb / 2020 12:53:31]" GET /static/images/icons/favicon.ico HTTP / 1.1 "200 32038 выше - мой логин на терминале, который я не вижу, получая css на конце