<filename>Carnival_Website/main_site/views.py
from django.shortcuts import render

def home(request):
    return render(request, 'main_site\index.html')
<filename>Carnival_Website/main_site/views.py
from django.shortcuts import render

def home(request):
    return render(request, 'main_site\index.html')