1from django.urls import path 2from . import views 3 4urlpatterns = [ 5 path('', views.MainPage.as_view(), name='main_page'), 6] 7