from django.urls import path, include from . import views as parts_views urlpatterns = [ path('', parts_views.main_view, name='parts-main') ]