from django.shortcuts import render # Create your views here. # Import the render function from Django to render templates from django.shortcuts import render def index(request): # Context dictionary to pass dynamic data to the template context = { 'title': 'Welcome to Pycouse!', 'author': 'Brian', } # Render the 'index.html' template located in the 'home' directory # Pass the context dictionary to the template for dynamic content return render(request, 'home/index.html', context)