Using the URLconfigured in mysite.urls, Django tried these options.
That's what's in mysite \ urls.py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('mainApp/', include('mainApp.urls')), path('wubwub/', include('wubwub.urls')), ] This is mysite \ mainApp \ urls.py
from django.urls import path from . import views urlpatterns = [ path('mainApp/', views.index, name='index') ] mysite \ mainApp \ views.py
from django.shortcuts import render def index(request): return render(request, 'mainApp/homePage.html')