title: Getting error TemplateDoesNotExist at / when loading home page template - Django + Bulma, Sass
body: <p>I'm a Django beginner and have been trying many solutions to this with no luck. Trying to use Sass to customize the Bulma framework in a Django site. I think it has something to do with my project directory structure and I've been messing with it so long there has to be something I'm not seeing.</p>
  
  <p>I'm sure I have multiple of some files that I don't need, but not sure what to get rid of and what to keep or move. </p>
  
  <pre><code>
  
  Request Method: GET
  Request URL: http://localhost:8000/
  
  Django Version: 3.0.3
  Python Version: 3.8.2
  Installed Applications:
  ['serappis.apps.SerappisConfig',
   'django.contrib.admin',
   'django.contrib.auth',
   'django.contrib.contenttypes',
   'django.contrib.sessions',
   'django.contrib.messages',
   'django.contrib.staticfiles',
   'django_simple_bulma',
   'sass_processor']
  Installed 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',
   'whitenoise.middleware.WhiteNoiseMiddleware']
  
  Template loader postmortem
  Django tried loading these templates, in this order:
  
  Using engine django:
      * django.template.loaders.filesystem.Loader: /Users/molly/Documents/Dev Projects/SerapisDjango/serapissite/templates/index.html (Source does not exist)
      * django.template.loaders.filesystem.Loader: /Users/molly/Documents/Dev Projects/SerapisDjango/serapissite/templates/index.html (Source does not exist)
      * django.template.loaders.app_directories.Loader: /Users/molly/Documents/Dev Projects/SerapisDjango/serapissite/serappis/templates/index.html (Source does not exist)
      * django.template.loaders.app_directories.Loader: /Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/contrib/admin/templates/index.html (Source does not exist)
      * django.template.loaders.app_directories.Loader: /Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/contrib/auth/templates/index.html (Source does not exist)
  
  
  
  Traceback (most recent call last):
    File "/Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
      response = get_response(request)
    File "/Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
      response = self.process_exception_by_middleware(e, request)
    File "/Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
      response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/Users/molly/Documents/Dev Projects/SerapisDjango/serapissite/serappis/views.py", line 7, in index
      return render(request, 'index.html')
    File "/Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/shortcuts.py", line 19, in render
      content = loader.render_to_string(template_name, context, request, using=using)
    File "/Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/template/loader.py", line 61, in render_to_string
      template = get_template(template_name, using=using)
    File "/Users/molly/.pyenv/versions/3.8.2/lib/python3.8/site-packages/django/template/loader.py", line 19, in get_template
      raise TemplateDoesNotExist(template_name, chain=chain)
  
  Exception Type: TemplateDoesNotExist at /
  Exception Value: index.html
  </code></pre>
  
  <pre><code>serapissite
  |-- node_modules
  |-- serapissite
  |   `-- settings
  |       `-- __init__.py
  |-- db.sqlite3
  |-- manage.py
  |-- package-lock.json
  |-- package.json
  |-- urls.py
  |-- serappis
  |   |-- static
  |   |   |-- css
  |   |   |   `-- mystyles.css
  |   |   |-- node_modules
  |   |   |-- sass
  |   |   |   `-- mystyles.scss
  |   |   `-- package-lock.json
  |   |-- templates
  |   |   `-- serappis
  |   |       `-- index.html
  |   |-- urls.py
  |   `-- views.py
  `-- templates
      `-- serapissite
          `-- index.html
  </code></pre>
  
  <p>Edit: added /serapissite/settings/<strong>init</strong>.py code here</p>
  
  <pre><code>"""
  Django settings for serapissite project.
  
  Generated by 'django-admin startproject' using Django 3.0.3.
  
  For more information on this file, see
  https://docs.djangoproject.com/en/3.0/topics/settings/
  
  For the full list of settings and their values, see
  https://docs.djangoproject.com/en/3.0/ref/settings/
  """
  
  import os
  import django
  from django.conf import settings
  
  PROJECT_DIR = os.path.dirname(__file__)
  
  # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  
  TEMPLATE_DIR = os.path.join(BASE_DIR, 'templates')
  
  # Quick-start development settings - unsuitable for production
  # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
  
  # SECURITY WARNING: keep the secret key used in production secret!
  SECRET_KEY = '#c6!@3j8zphb3k4rx9mollyl%ep4rvvx42!@3v'
  
  # SECURITY WARNING: don't run with debug turned on in production!
  DEBUG = True
  
  ALLOWED_HOSTS = []
  
  
  # Application definition
  
  INSTALLED_APPS = [
      'serappis.apps.SerappisConfig',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'django_simple_bulma',
      'sass_processor',
  ]
  
  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',
      'whitenoise.middleware.WhiteNoiseMiddleware',
  ]
  
  ROOT_URLCONF = 'serapissite.urls'
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [os.path.join(BASE_DIR, '..', 'templates')],
          '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 = 'serapissite.wsgi.application'
  
  
  # Database
  # https://docs.djangoproject.com/en/3.0/ref/settings/#databases
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
      }
  }
  
  
  # Password validation
  # https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators
  
  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',
      },
  ]
  
  
  # Internationalization
  # https://docs.djangoproject.com/en/3.0/topics/i18n/
  
  LANGUAGE_CODE = 'en-us'
  
  TIME_ZONE = 'America/Chicago'
  
  USE_I18N = True
  
  USE_L10N = True
  
  USE_TZ = True
  
  
  # Static files (CSS, JavaScript, Images)
  # https://docs.djangoproject.com/en/3.0/howto/static-files/
  
  STATIC_URL = '/static/'
  MEDIA_URL = '/media/'
  
  STATIC_ROOT = '/serapissite/serappis/static/'
  
  STATICFILES_FINDERS = [
      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
      'sass_processor.finders.CssFinder',
      'django.contrib.staticfiles.finders.FileSystemFinder',
  ]
  
  STATICFILE_DIRS = [
      os.path.join(BASE_DIR, "static"),
  ]
  
  # Django Sass
  SASS_PROCESSOR_ROOT = os.path.join(BASE_DIR, 'static')
  
  </code></pre>
  
  <p>Edit: serapissite/serappis/urls.py code here</p>
  
  <pre><code>from django.contrib import admin
  from django.urls import include, path
  from django.conf.urls.static import static
  
  urlpatterns = [
      path('', include('serappis.urls')),
      path('admin/', admin.site.urls),
  ]
  </code></pre>
  
  <p>/serapissite/serappis/views.py code here:</p>
  
  <pre><code>from django.shortcuts import render
  from django.http import HttpResponse
  from django.template import loader
  
  
  def index(request):
      return render(request, 'index.html')
  </code></pre>
  
  <p>Edit: I figured it out! I did another full rebuild and named my directories more clearly while minimizing the amount of packages/extra apps.</p>