title: In Django ,css file is not loaded
body: <p>Please tell me why static file can not be read.<br>
  I can read an image file but I can not read css and js file.<br>
  I see related questions elsewhere, but I can't solve them so I ask.</p>
  
  <pre><code>#settings.py
  INSTALLED_APPS = [
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'bootstrap4',
      'myapp.apps.MyappConfig',
  ]
  
  STATIC_URL = '/static/'
  STATICFILES_DIRS = (
      os.path.join(BASE_DIR, 'assets'),
  )
  </code></pre>
  
  <p>My directory structure.</p>
  
  <pre><code>Projects
  -assets
      —css
          —style.css
      —image
      —js
          —style.js
  -media
  -projects
      —__init__.py
      —settings.py
      —urls.py
      —wigs.py
  -myapp
      —migrations
      —__init__.py
      —admin.py
      —apps.py
      —models.py
      —tests.py
      —views.py
  </code></pre>
  
  <p>base.html</p>
  
  <pre><code>#html
  &lt;!DOCTYPE html&gt;
  {% load static %}
  {% load bootstrap4 %}
  {% bootstrap_css %}
  {% bootstrap_javascript jquery='slim' %}
  
  &lt;html lang="ja"&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"&gt;
  
      &lt;link href="https://fonts.googleapis.com/earlyaccess/sawarabigothic.css" rel="stylesheet" &gt;
  
      &lt;link href="{% static 'css/style.css' %}" rel="stylesheet"&gt;
      &lt;title&gt;Myapp&lt;/title&gt;
      {% include "navi.html" %}
  &lt;/head&gt;
  &lt;body&gt;
    {% block content %}{% endblock %}
    &lt;/div&gt;
    &lt;script src="{% static 'js/style.js' %}"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Although it is not here, the image file can be load.</p>
  
  <pre><code>&lt;div class="text-center" style="background-image: url({% static 'image/back-image.jpg' %});"&gt;
  </code></pre>
  
  <p>addimage:
  <a href="https://i.stack.imgur.com/18K2e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/18K2e.png" alt="enter image description here"></a></p>