title: Css not loading in Django
body: <p>My css file is not getting loaded in the webpage. I have css and image file in the same location. The image is getting loaded but not the css.Also I have included the directory in staticfile_dirs. 
  Setting.py</p>
  
  <pre><code>DEBUG = True
  ALLOWED_HOSTS = []
  INSTALLED_APPS = [
      'technicalCourse.apps.TechnicalcourseConfig',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  
  ]
  
  MIDDLEWARE = [
      'django.middleware.security.SecurityMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
  ]
  
  ROOT_URLCONF = 'website.urls'
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [
              r'C:\Users\Kesavan\PycharmProjects\Django web development\website\technicalCourse\template'
          ],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.template.context_processors.debug',
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  
  WSGI_APPLICATION = 'website.wsgi.application'
  
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  STATIC_URL = '/static/'
  
  STATICFILES_DIRS = [
      os.path.join(BASE_DIR, 'static'),
      r'website\technicalCourse\static',
  ]
  
  </code></pre>
  
  <p>This the template file</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  {% load static %}
  &lt;head&gt;
  &lt;link rel="stylesheet" type="text/css" href="{% static 'css/simple.css' %}"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;img src="{% static 'image/img.png' %}"&gt;
  &lt;h1&gt;Welcome to course on programming&lt;/h1&gt;
  &lt;ol&gt;
      {% for x in ac %}
      &lt;li&gt;&lt;a href="{{x.id}}/"&gt;{{x.courseName}}&lt;/a&gt;&lt;/li&gt;
      {% endfor %}
  &lt;/ol&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>For testing I simply change the color of the h1 tag alone. The css file.</p>
  
  <pre><code>h1{
  color:black;
  }
  </code></pre>
  
  <p>Structure</p>
  
  <pre><code>C:.
  ├───migrations
  │   └───__pycache__
  ├───static
  │   ├───css
  │   └───image
  ├───template
  │   └───technicalCourse
  └───__pycache__
  </code></pre>
  
  <p>But there is no reflection on the webpage.
  Hoping for the solution.
  Thanks in advance.</p>