title: Linked the css file in django html template but no output
body: <p>I linked my django html template with the css file, but there is no error and no changes in the page. And when I write the same css code in the same html file under the  tag, it works correctly, can someone please guide on what is going wrong?</p>
  <p>Attaching the code of html file and settings file.</p>
  <p><strong>HTML File</strong></p>
  <pre><code>&lt;!DOCTYPE html&gt;
  {% load static %}
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset=&quot;utf-8&quot;&gt;
          &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
          &lt;title&gt;TPC - Student Dashboard&lt;/title&gt;
          &lt;meta name=&quot;description&quot; content=&quot;&quot;&gt;
          &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;
          &lt;style&gt;
            ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
              color: white;
              opacity: 1; /* Firefox */
            }
            
            :-ms-input-placeholder { /* Internet Explorer 10-11 */
              color: white;
            }
            
            ::-ms-input-placeholder { /* Microsoft Edge */
              color: white;
            }
          
          
          *{
              background:#E7E9F0;
              font-family: &quot;Segoe UI&quot;, Arial, sans-serif;
          }
          &lt;/style&gt;
          &lt;link rel='stylesheet' src=&quot;{% static 'Dashboards/student_dashboard.css' %}&quot;&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  
  </code></pre>
  <p><strong>settings.py</strong></p>
  <pre><code>from pathlib import Path
  import os
  
  BASE_DIR = Path(__file__).resolve().parent.parent
  
  SECRET_KEY = 
  
  DEBUG = TEMPLATE_DEBUG = True
  
  ALLOWED_HOSTS = []
  
  
  # Application definition
  
  INSTALLED_APPS = [
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'loginRegistration',
      'dashboards',
  ]
  
  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 = 'tpcAutomation.urls'
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [os.path.join(BASE_DIR, &quot;templates&quot;)],
          '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 = 'tpcAutomation.wsgi.application'
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': BASE_DIR / 'db.sqlite3',
      }
  }
  
  AUTH_PASSWORD_VALIDATORS = [
      {
          'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
      },
      {
          'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
      },
      {
          'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
      },
      {
          'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
      },
  ]
  
  LANGUAGE_CODE = 'en-us'
  
  TIME_ZONE = 'UTC'
  
  USE_I18N = True
  
  USE_TZ = True
  
  STATIC_URL = './static/'
  STATIC_ROOT = os.path.join(BASE_DIR,  'static')
  
  MEDIA_URL = '/media/'
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  
  DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
  </code></pre>
  <p>Currently, there are 2 apps in my project, namely loginRegistration and dashboards, and in both the apps, if I use the css inside the  tag, then it works properly, but when I write the same code in external css file and try to link it, there is no error but no changes also.</p>
  <p>Thanking In Advance!</p>