from django.shortcuts import render from django.urls import path def index(request): return render(request, 'welcome/index.html') urlpatterns = [ path('', index) ]